Skip to content

Commit

Permalink
Fixed detection of OpenGL extensions needed by nv2 profile.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Jun 20, 2008
1 parent 543cebe commit e5ecb78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mojoshader_opengl.c
Expand Up @@ -391,6 +391,8 @@ static void load_extensions(void *(*lookup)(const char *fnname))
ctx->have_base_opengl = 1;
ctx->have_GL_ARB_vertex_program = 1;
ctx->have_GL_ARB_fragment_program = 1;
ctx->have_GL_NV_vertex_program2_option = 1;
ctx->have_GL_NV_fragment_program2 = 1;
ctx->have_GL_ARB_shader_objects = 1;
ctx->have_GL_ARB_vertex_shader = 1;
ctx->have_GL_ARB_fragment_shader = 1;
Expand Down

0 comments on commit e5ecb78

Please sign in to comment.