GL fix, now with 100% more unicode cast for unix

Originally committed to SVN as r909.
This commit is contained in:
Rodrigo Braz Monteiro 2007-01-30 00:45:42 +00:00
parent 67f4beabb2
commit 44712f0d7b

View file

@ -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