From f61b8b312d251f9c8dd33d03d1566fd73019bf08 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 7 Jan 2015 21:33:14 +0100 Subject: win32: request UTF-16 API variants, Vista+ APIs, and COM C macros Put the Vista+ (_WIN32_WINNT) and the COM C (COBJMACROS) defines into the build system, instead of defining them over and over in the code. --- video/out/gl_w32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/gl_w32.c') diff --git a/video/out/gl_w32.c b/video/out/gl_w32.c index 79e3165b39..abdea60775 100644 --- a/video/out/gl_w32.c +++ b/video/out/gl_w32.c @@ -81,7 +81,7 @@ static void *w32gpa(const GLubyte *procName) void *res = wglGetProcAddress(procName); if (res) return res; - oglmod = GetModuleHandle("opengl32.dll"); + oglmod = GetModuleHandle(L"opengl32.dll"); return GetProcAddress(oglmod, procName); } -- cgit v1.2.3