From 44712f0d7bbb2d697885cdcc04e1a881c39a909d Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Tue, 30 Jan 2007 00:45:42 +0000 Subject: [PATCH] GL fix, now with 100% more unicode cast for unix Originally committed to SVN as r909. --- aegisub/gl_wrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/gl_wrap.cpp b/aegisub/gl_wrap.cpp index 4f1ad585f..9369ebadb 100644 --- a/aegisub/gl_wrap.cpp +++ b/aegisub/gl_wrap.cpp @@ -51,7 +51,7 @@ void* glGetProc(const char *str) { return wglGetProcAddress(str); } #ifdef __WXMAC_OSX__ void* glGetProc(const char *str) { return aglGetProcAddress(str); } #else -void* glGetProc(const char *str) { return glXGetProcAddress(str); } +void* glGetProc(const char *str) { return glXGetProcAddress((const GLubyte *)str); } #endif #endif