mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 05:41:52 +00:00
fix for gles2 headers/omissions
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4435 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
50c2df12df
commit
48c5f98aa5
1 changed files with 4 additions and 0 deletions
|
@ -1750,8 +1750,12 @@ void DumpGLState(void)
|
||||||
// if (qglIsEnabled(GL_INDEX_ARRAY))
|
// if (qglIsEnabled(GL_INDEX_ARRAY))
|
||||||
{
|
{
|
||||||
qglGetIntegerv(GL_ELEMENT_ARRAY_BUFFER_BINDING, &rval);
|
qglGetIntegerv(GL_ELEMENT_ARRAY_BUFFER_BINDING, &rval);
|
||||||
|
#ifndef GL_INDEX_ARRAY_POINTER
|
||||||
|
Sys_Printf("GL_ELEMENT_ARRAY_BUFFER_BINDING: %i:%p\n", rval, (void*)0);
|
||||||
|
#else
|
||||||
qglGetPointerv(GL_INDEX_ARRAY_POINTER, &ptr);
|
qglGetPointerv(GL_INDEX_ARRAY_POINTER, &ptr);
|
||||||
Sys_Printf("GL_INDEX_ARRAY: %s %i:%p\n", qglIsEnabled(GL_INDEX_ARRAY)?"en":"dis", rval, ptr);
|
Sys_Printf("GL_INDEX_ARRAY: %s %i:%p\n", qglIsEnabled(GL_INDEX_ARRAY)?"en":"dis", rval, ptr);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if (qglIsEnabled(GL_NORMAL_ARRAY))
|
if (qglIsEnabled(GL_NORMAL_ARRAY))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue