mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
GLCtrl: Fixed
This commit is contained in:
parent
ba1f3e1155
commit
f0f5cd9c16
3 changed files with 776 additions and 776 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue