Commits

Anonymous committed 4b5ef55

NoLoad works on Linux now.

Comments (0)

Files changed (2)

 		[[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]],
 	},
 }
 

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");