Browse Source

Exclude NX from glew/opengl.

woollybah 7 năm trước cách đây
mục cha
commit
bb2995cc33
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 1 1
      glew.mod/g2bmx.bmx
  2. 2 1
      opengl.mod/opengl.bmx

+ 1 - 1
glew.mod/g2bmx.bmx

@@ -470,7 +470,7 @@ Type TCodeGenerator
 		WriteLine OutGLew, "' #define GLEW_STATIC"
 		WriteLine OutGLew, "' #endif"
 		WriteLine OutGLew, ""
-		WriteLine OutGLew, "?Not opengles"
+		WriteLine OutGLew, "?Not opengles And Not nx"
 		WriteLine OutGLew, ""
 		WriteLine OutGLew, "Import ~qglew.c~q"
 		WriteLine OutGLew, ""

+ 2 - 1
opengl.mod/opengl.bmx

@@ -33,7 +33,7 @@ Import "-lGLU"
 Import "glu.bmx"
 ?
 
-
+?Not nx
 Extern "Os"
 
 Const GL_ACCUM=$0100
@@ -906,3 +906,4 @@ Function glVertexPointer(size_:Int,type_:Int,stride_:Int,pointer_:Byte Ptr)="voi
 Function glViewport(x_:Int,y_:Int,width_:Int,height_:Int)="void glViewport( GLint , GLint , GLsizei, GLsizei )!"
 
 End Extern
+?