Commits

mcke...@Gimp  committed 4b5ef55

NoLoad works on Linux now.

  • Participants
  • Parent commits 794ecf5

Comments (0)

Files changed (2)

File GenTests.lua

 		[[lua $<dir>LoadGen.lua -spec=glX -style=pointer_cpp -stdext=extfiles/glx_common.txt $<dir>test/ptr_cpp/test]],
 		[[lua $<dir>LoadGen.lua -spec=glX -style=glload -extfile=$<dir>allglx.txt $<dir>test/glload_c/test]],
 		[[lua $<dir>LoadGen.lua -spec=glX -style=glload -extfile=$<dir>allglx.txt $<dir>test/glload_cpp/test]],
+		[[lua $<dir>LoadGen.lua -spec=glX -style=noload_cpp -stdext=extfiles/glx_common.txt $<dir>test/noload_cpp/test]],
 	},
 }
 

File test/noload_cpp/test.cpp

 	glutSetOption(GLUT_ACTION_ON_WINDOW_CLOSE, GLUT_ACTION_CONTINUE_EXECUTION);
 
 	gl::sys::CheckExtensions();
+#ifdef _WIN32
 	wgl::sys::CheckExtensions(wglGetCurrentDC());
+#endif
 
 	if(gl::exts::var_EXT_texture_compression_s3tc)
 		printf("Yay!\n");