GLCtrl: Fixed

This commit is contained in:
Mirek Fidler 2025-03-13 17:27:38 +01:00
parent ba1f3e1155
commit f0f5cd9c16
3 changed files with 776 additions and 776 deletions

View file

@ -67,7 +67,7 @@ void DHCtrl::OpenHWND()
CloseHWND();
HWND phwnd = GetTopCtrl()->GetHWND();
if(phwnd)
CreateWindowEx(0, "UPP-CLASS-A", "",
CreateWindowEx(0, "UPP-CLASS-W", "",
WS_CHILD|WS_DISABLED|WS_VISIBLE,
0, 0, 20, 20,
phwnd, NULL, hInstance, this);

View file

@ -15,7 +15,7 @@ void MakeWGLContext(int depthBits, int stencilBits, int samples)
{
ONCELOCK {
for(int pass = 0; pass < 2; pass++) {
HWND hWND = CreateWindow("UPP-CLASS-A", "Fake Window",
HWND hWND = CreateWindow("UPP-CLASS-W", "Fake Window",
WS_CAPTION|WS_SYSMENU|WS_CLIPSIBLINGS|WS_CLIPCHILDREN,
0, 0, 1, 1, NULL, NULL,
NULL, NULL);

File diff suppressed because it is too large Load diff