[Change] Check for GL_ARB_fragment_program instead of GL_ARB_fragment_shader.
This commit is contained in:
parent
7b77faa53e
commit
584f56e2a0
@ -940,9 +940,9 @@ int gl_init(void) {
|
||||
gl_screen.depth = gl_screen.r + gl_screen.g + gl_screen.b + gl_screen.a;
|
||||
|
||||
/* 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;
|
||||
if(gl_hasExt("GL_ARB_fragment_shader")==GL_TRUE)
|
||||
if(gl_hasExt("GL_ARB_fragment_program")==GL_TRUE)
|
||||
gl_screen.flags |= OPENGL_FRAG_SHADER;
|
||||
|
||||
/* Texture information. */
|
||||
|
Loading…
Reference in New Issue
Block a user