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:
Rodrigo Braz Monteiro 2007-04-25 18:57:56 +00:00
parent 3f0b3eebae
commit e04c25d378

View file

@ -54,7 +54,9 @@
void* glGetProc(const char *str) { return wglGetProcAddress(str); }
#else
#ifdef __WXMAC_OSX__
#ifndef HAVE_APPLE_OPENGL_FRAMEWORK
void* glGetProc(const char *str) { return aglGetProcAddress(str); }
#endif
#else
//void* glGetProc(const char *str) { return glXGetProcAddress((const GLubyte *)str); }
#define glGetProc(a) glXGetProcAddress((const GLubyte *)(a))