diff options
author | Sven Gothel <[email protected]> | 2010-12-09 23:31:14 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-12-09 23:31:14 +0100 |
commit | a92e315245f6cefb55a71572eab8b6c95e8041a3 (patch) | |
tree | 8de2a364fed04e928df41365e5e61cddb768ac9d /make/stub_includes/win32/wingdi.h | |
parent | da97bc022020546455b293aea25dba3ee59152f5 (diff) |
GDI: Fix CreateDummyWindow: Use local getModuleHandle(NULL) and synchronize factory method.
Diffstat (limited to 'make/stub_includes/win32/wingdi.h')
-rw-r--r-- | make/stub_includes/win32/wingdi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/stub_includes/win32/wingdi.h b/make/stub_includes/win32/wingdi.h index fd4bc16a2..23506a463 100644 --- a/make/stub_includes/win32/wingdi.h +++ b/make/stub_includes/win32/wingdi.h @@ -169,7 +169,7 @@ WINGDIAPI HGDIOBJ WINAPI SelectObject(HDC, HGDIOBJ); // Routines for creation of a dummy window, device context and OpenGL // context for the purposes of getting wglChoosePixelFormatARB and // associated routines - HWND CreateDummyWindow0( HINSTANCE hInstance, int x, int y, int width, int height ) ; + HWND CreateDummyWindow0( int x, int y, int width, int height ) ; WINUSERAPI BOOL WINAPI ShowWindow(HWND hWnd, int nCmdShow); WINUSERAPI HDC WINAPI GetDC(HWND); WINUSERAPI int WINAPI ReleaseDC(HWND hWnd, HDC hDC); |