From a92e315245f6cefb55a71572eab8b6c95e8041a3 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 9 Dec 2010 23:31:14 +0100 Subject: GDI: Fix CreateDummyWindow: Use local getModuleHandle(NULL) and synchronize factory method. --- make/stub_includes/win32/wingdi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/stub_includes/win32') 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); -- cgit v1.2.3