Removed obsolete SUPPORT_PROFILE_NV2 test. trunk
authorRyan C. Gordon <icculus@icculus.org>
Sun, 29 Jun 2008 00:28:47 -0400
branchtrunk
changeset 410 38bb72b3af8a
parent 409 b20cf4004a58
child 411 01bc1352c047
Removed obsolete SUPPORT_PROFILE_NV2 test.
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Sun Jun 29 00:22:30 2008 -0400
+++ b/mojoshader_opengl.c	Sun Jun 29 00:28:47 2008 -0400
@@ -52,15 +52,6 @@
 #define SUPPORT_PROFILE_ARB1 1
 #endif
 
-#ifndef SUPPORT_PROFILE_NV2
-#define SUPPORT_PROFILE_NV2 1
-#endif
-
-
-#if SUPPORT_PROFILE_NV2 && !SUPPORT_PROFILE_ARB1
-#error nv2 profile requires arb1 profile.
-#endif
-
 
 struct MOJOSHADER_glShader
 {
@@ -475,9 +466,7 @@
         MUST_HAVE(MOJOSHADER_PROFILE_ARB1, GL_ARB_vertex_program);
         MUST_HAVE(MOJOSHADER_PROFILE_ARB1, GL_ARB_fragment_program);
     } // else if
-    #endif
 
-    #if SUPPORT_PROFILE_NV2
     else if (strcmp(profile, MOJOSHADER_PROFILE_NV2) == 0)
     {
         MUST_HAVE(MOJOSHADER_PROFILE_NV2, GL_ARB_vertex_program);