X-Git-Url: https://git.cworth.org/git?p=apitrace;a=blobdiff_plain;f=retrace%2Fglretrace_main.cpp;h=f369b33b7316c0f2c7ce7181268ba2c8736bbcaa;hp=d0298fcb74e76e4dc8f99d6ab103ab8f65e5b0e5;hb=37007777c37b1d28abfe1ac07901d1e13e12b113;hpb=75cbb8c52730680271ce5fe939ff6607ab004eaa diff --git a/retrace/glretrace_main.cpp b/retrace/glretrace_main.cpp index d0298fc..f369b33 100755 --- a/retrace/glretrace_main.cpp +++ b/retrace/glretrace_main.cpp @@ -42,6 +42,7 @@ namespace glretrace { bool insideList = false; bool insideGlBeginEnd = false; +bool supportsARBShaderObjects = false; enum { GPU_START = 0, @@ -246,6 +247,7 @@ initContext() { supportsElapsed = currentContext->hasExtension("GL_EXT_timer_query") || supportsTimestamp; supportsOcclusion = currentContext->hasExtension("GL_ARB_occlusion_query"); supportsDebugOutput = currentContext->hasExtension("GL_ARB_debug_output"); + supportsARBShaderObjects = currentContext->hasExtension("GL_ARB_shader_objects"); /* Check for timer query support */ if (retrace::profilingGpuTimes) {