瀏覽代碼

should fix egl.h issues

David Rose 14 年之前
父節點
當前提交
9a7af0f435
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      panda/src/egldisplay/eglGraphicsPipe.h

+ 4 - 0
panda/src/egldisplay/eglGraphicsPipe.h

@@ -24,13 +24,17 @@
 
 #ifdef OPENGLES_2
   #include "gles2gsg.h"
+  #include "pre_x11_include.h"
   #include <EGL/egl.h>
+  #include "post_x11_include.h"
   #define NativeDisplayType EGLNativeDisplayType
   #define NativePixmapType EGLNativePixmapType
   #define NativeWindowType EGLNativeWindowType
 #else
   #include "glesgsg.h"
+  #include "pre_x11_include.h"
   #include <GLES/egl.h>
+  #include "post_x11_include.h"
 #endif
 
 class FrameBufferProperties;