ncannasse 7 年之前
父節點
當前提交
bb6dcf0f6d
共有 1 個文件被更改,包括 1 次插入0 次删除
  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