瀏覽代碼

epoxy GLX extension interface

Jeff Hutchinson 9 年之前
父節點
當前提交
7317848080
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Engine/source/gfx/gl/tGL/tXGL.h

+ 1 - 2
Engine/source/gfx/gl/tGL/tXGL.h

@@ -30,8 +30,7 @@
 #include "tGL.h"
 #include "tGL.h"
 #include <epoxy/glx.h>
 #include <epoxy/glx.h>
 
 
-// TODO glx
-#define gglHasXExtension(EXTENSION) 
+#define gglHasXExtension(display, screen, EXTENSION) epoxy_has_glx_extension(display, screen, "GLX_" # EXTENSION)
 
 
 #endif //TORQUE_OS_LINUX
 #endif //TORQUE_OS_LINUX