mirror of https://github.com/odrling/Aegisub
Probably fixed OS X errors on gl_wrap.cpp, but I really don't think that I want to fix the retarded warnings
Originally committed to SVN as r1144.
This commit is contained in:
parent
3f0b3eebae
commit
e04c25d378
|
@ -54,7 +54,9 @@
|
||||||
void* glGetProc(const char *str) { return wglGetProcAddress(str); }
|
void* glGetProc(const char *str) { return wglGetProcAddress(str); }
|
||||||
#else
|
#else
|
||||||
#ifdef __WXMAC_OSX__
|
#ifdef __WXMAC_OSX__
|
||||||
|
#ifndef HAVE_APPLE_OPENGL_FRAMEWORK
|
||||||
void* glGetProc(const char *str) { return aglGetProcAddress(str); }
|
void* glGetProc(const char *str) { return aglGetProcAddress(str); }
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
//void* glGetProc(const char *str) { return glXGetProcAddress((const GLubyte *)str); }
|
//void* glGetProc(const char *str) { return glXGetProcAddress((const GLubyte *)str); }
|
||||||
#define glGetProc(a) glXGetProcAddress((const GLubyte *)(a))
|
#define glGetProc(a) glXGetProcAddress((const GLubyte *)(a))
|
||||||
|
|
Loading…
Reference in New Issue