Skip to content

Commit

Permalink
Removed obsolete SUPPORT_PROFILE_NV2 test.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Jun 29, 2008
1 parent cbf3f52 commit 0c816b8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions mojoshader_opengl.c
Expand Up @@ -52,15 +52,6 @@ typedef int32_t int32;
#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
{
Expand Down Expand Up @@ -475,9 +466,7 @@ static int valid_profile(const char *profile)
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);
Expand Down

0 comments on commit 0c816b8

Please sign in to comment.