mojoshader_opengl.c
branchtrunk
changeset 362 1aa8a74bb5a5
parent 361 9fa6652cacbd
child 363 bea8bf9e5536
--- a/mojoshader_opengl.c	Wed Jun 18 01:18:26 2008 -0400
+++ b/mojoshader_opengl.c	Wed Jun 18 01:22:34 2008 -0400
@@ -140,16 +140,16 @@
     char profile[16];
 
     // Extensions...
-    int have_base_opengl;
-    int have_GL_ARB_vertex_program;
-    int have_GL_ARB_fragment_program;
-    int have_GL_NV_vertex_program2_option;
-    int have_GL_NV_fragment_program2;
-    int have_GL_ARB_shader_objects;
-    int have_GL_ARB_vertex_shader;
-    int have_GL_ARB_fragment_shader;
-    int have_GL_ARB_shading_language_100;
-    int have_GL_NV_half_float;
+    int have_base_opengl:1;
+    int have_GL_ARB_vertex_program:1;
+    int have_GL_ARB_fragment_program:1;
+    int have_GL_NV_vertex_program2_option:1;
+    int have_GL_NV_fragment_program2:1;
+    int have_GL_ARB_shader_objects:1;
+    int have_GL_ARB_vertex_shader:1;
+    int have_GL_ARB_fragment_shader:1;
+    int have_GL_ARB_shading_language_100:1;
+    int have_GL_NV_half_float:1;
 
     // Entry points...
     PFNGLGETSTRINGPROC glGetString;