From 626f91f3078f3831471277b4da850394c3d3037b Mon Sep 17 00:00:00 2001 From: thebirk Date: Sat, 28 Jan 2017 23:23:02 +0100 Subject: [PATCH] Changed #foreign user32 to gdi32 where this was wrong. --- core/sys/windows.odin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/sys/windows.odin b/core/sys/windows.odin index 45114d246..01bad758c 100644 --- a/core/sys/windows.odin +++ b/core/sys/windows.odin @@ -394,9 +394,9 @@ PIXELFORMATDESCRIPTOR :: struct #ordered { } GetDC :: proc(h: HANDLE) -> HDC #foreign user32; -SetPixelFormat :: proc(hdc: HDC, pixel_format: i32, pfd: ^PIXELFORMATDESCRIPTOR ) -> BOOL #foreign user32; -ChoosePixelFormat :: proc(hdc: HDC, pfd: ^PIXELFORMATDESCRIPTOR) -> i32 #foreign user32; -SwapBuffers :: proc(hdc: HDC) -> BOOL #foreign user32; +SetPixelFormat :: proc(hdc: HDC, pixel_format: i32, pfd: ^PIXELFORMATDESCRIPTOR ) -> BOOL #foreign gdi32; +ChoosePixelFormat :: proc(hdc: HDC, pfd: ^PIXELFORMATDESCRIPTOR) -> i32 #foreign gdi32; +SwapBuffers :: proc(hdc: HDC) -> BOOL #foreign gdi32; ReleaseDC :: proc(wnd: HWND, hdc: HDC) -> i32 #foreign user32; WGL_CONTEXT_MAJOR_VERSION_ARB :: 0x2091;