If GL_ARB_clip_control & GL_ARB_depth_clamp are available, reflect that in glinfo

git-svn-id: https://svn.eduke32.com/eduke32@7753 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
pogokeen 2019-07-05 21:17:52 +00:00 committed by Christoph Oelckers
parent 13615565fd
commit 2e75437262
4 changed files with 14 additions and 0 deletions

View file

@ -1350,6 +1350,8 @@ void sdlayer_setvideomode_opengl(void)
glinfo.debugoutput = !!Bstrstr(glinfo.extensions, "GL_ARB_debug_output");
glinfo.bufferstorage = !!Bstrstr(glinfo.extensions, "GL_ARB_buffer_storage");
glinfo.sync = !!Bstrstr(glinfo.extensions, "GL_ARB_sync");
glinfo.depthclamp = !!Bstrstr(glinfo.extensions, "GL_ARB_depth_clamp");
glinfo.clipcontrol = !!Bstrstr(glinfo.extensions, "GL_ARB_clip_control");
if (Bstrstr(glinfo.extensions, "WGL_3DFX_gamma_control"))
{