Skip to content

Commit

Permalink
Fixed uninitialized variable in OpenGL glue's nv4 profile detection.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Jul 9, 2008
1 parent 56194ce commit bd1ed20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_opengl.c
Expand Up @@ -718,6 +718,7 @@ static void load_extensions(void *(*lookup)(const char *fnname))
ctx->have_GL_NV_vertex_program2_option = 1;
ctx->have_GL_NV_fragment_program2 = 1;
ctx->have_GL_NV_vertex_program3 = 1;
ctx->have_GL_NV_gpu_program4 = 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 bd1ed20

Please sign in to comment.