[Change] Check for GL_ARB_fragment_program instead of GL_ARB_fragment_shader.

This commit is contained in:
Allanis 2013-09-12 15:32:06 +01:00
parent 7b77faa53e
commit 584f56e2a0

View File

@ -940,9 +940,9 @@ int gl_init(void) {
gl_screen.depth = gl_screen.r + gl_screen.g + gl_screen.b + gl_screen.a; gl_screen.depth = gl_screen.r + gl_screen.g + gl_screen.b + gl_screen.a;
/* Get info about some extensions. */ /* Get info about some extensions. */
if(gl_hasExt("GL_ARB_vertex_shader")==GL_TRUE) if(gl_hasExt("GL_ARB_vertex_program")==GL_TRUE)
gl_screen.flags |= OPENGL_VERT_SHADER; gl_screen.flags |= OPENGL_VERT_SHADER;
if(gl_hasExt("GL_ARB_fragment_shader")==GL_TRUE) if(gl_hasExt("GL_ARB_fragment_program")==GL_TRUE)
gl_screen.flags |= OPENGL_FRAG_SHADER; gl_screen.flags |= OPENGL_FRAG_SHADER;
/* Texture information. */ /* Texture information. */