ncannasse 7 anni fa
parent
commit
bb6dcf0f6d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      libs/sdl/gl.c

+ 1 - 0
libs/sdl/gl.c

@@ -23,6 +23,7 @@
 #endif
 
 #if !defined(HL_CONSOLE) && !defined(HL_MESA)
+#define GL_IMPORT(fun, t) PFNGL##t##PROC fun
 #include "GLImports.h"
 #undef GL_IMPORT
 #define GL_IMPORT(fun,t)	fun = (PFNGL##t##PROC)SDL_GL_GetProcAddress(#fun); if( fun == NULL ) return 1