Added support for GL_EXT_compiled_vertex_array
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@382 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d5ce9a1c68
commit
76b15ade25
|
@ -257,6 +257,12 @@ void GL_CheckExtensions (void *(*getglfunction) (char *name))
|
||||||
bindTexFunc = (void *)getglext("glBindTexture");
|
bindTexFunc = (void *)getglext("glBindTexture");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strstr(gl_extensions, "GL_EXT_compiled_vertex_array"))
|
||||||
|
{
|
||||||
|
qglLockArraysEXT = (void *)getglext("glLockArraysEXT");
|
||||||
|
qglUnlockArraysEXT = (void *)getglext("glUnlockArraysEXT");
|
||||||
|
}
|
||||||
|
|
||||||
gl_config.tex_env_combine = !!strstr(gl_extensions, "GL_EXT_texture_env_combine");
|
gl_config.tex_env_combine = !!strstr(gl_extensions, "GL_EXT_texture_env_combine");
|
||||||
gl_config.env_add = !!strstr(gl_extensions, "GL_EXT_texture_env_add");
|
gl_config.env_add = !!strstr(gl_extensions, "GL_EXT_texture_env_add");
|
||||||
gl_config.nv_tex_env_combine4 = !!strstr(gl_extensions, "GL_NV_texture_env_combine4");
|
gl_config.nv_tex_env_combine4 = !!strstr(gl_extensions, "GL_NV_texture_env_combine4");
|
||||||
|
|
Loading…
Reference in New Issue