瀏覽代碼

MAC : Trying to fix the GL_* video build errors.

legacy
Benjamin ‘Touky’ Huet touky 11 年之前
父節點
當前提交
84deaf31db
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      src/lolgl.h

+ 4
- 4
src/lolgl.h 查看文件

@@ -40,16 +40,16 @@
# define MACOS_OPENGL
# define GL_GLEXT_PROTOTYPES
# include <OpenGL/OpenGL.h>
# include <OpenGL/gl.h>
# include <OpenGL/glext.h>
# include <OpenGL/glut.h>
//# include <OpenGL/glext.h>
# else
# define GL_GLEXT_PROTOTYPES
# include <GL/gl.h>
# endif
#elif defined HAVE_GLES_2X
# if defined __APPLE__ && defined __MACH__
# include <OpenGLES/ES2/gl.h>
# include <OpenGLES/ES2/glext.h>
# include <OpenGLES/ES2/glut.h>
//# include <OpenGLES/ES2/glext.h>
# elif defined __CELLOS_LV2__
# include <PSGL/psgl.h>
# include <PSGL/psglu.h>


Loading…
取消
儲存