Check for GL_ARB_texture_env_combine as well
FossilOrigin-Name: ca2bc91bc3c9539c632b293e103dc82bf42b25541ac8045f3665461d6afa1f24
This commit is contained in:
parent
cc73f6ed78
commit
e11cbf6b41
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ gl_init(int w, int h)
|
||||||
|
|
||||||
char *exts = (char *)glGetString(GL_EXTENSIONS);
|
char *exts = (char *)glGetString(GL_EXTENSIONS);
|
||||||
|
|
||||||
if (strstr(exts, "GL_EXT_texture_env_combine"))
|
if (strstr(exts, "GL_EXT_texture_env_combine") ||
|
||||||
|
strstr(exts, "GL_ARB_texture_env_combine"))
|
||||||
hasoverbright = true;
|
hasoverbright = true;
|
||||||
else
|
else
|
||||||
conoutf(@"WARNING: cannot use overbright lighting, using old "
|
conoutf(@"WARNING: cannot use overbright lighting, using old "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue