summaryrefslogtreecommitdiffstats
path: root/video/out/gl_w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_w32.c')
-rw-r--r--video/out/gl_w32.c2
1 files changed, 1 insertions, 1 deletions
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);
}