diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-06-25 14:36:10 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-06-25 14:36:10 +0100 |
commit | 5cd0ac50972bc8be658bb5315ff191afccb65aea (patch) | |
tree | 2886d74814f8569f0d88b598dce658744df2b6d2 | |
parent | 1b685b0bb3a33b7b9eac254b4c4172903ef2eb38 (diff) |
glretrace: Improve GL_ARB_timer_query support detection.
Was part of core in GL_ARB_timer_query.
-rwxr-xr-x | retrace/glretrace_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/retrace/glretrace_main.cpp b/retrace/glretrace_main.cpp index 48c214ac..b02864f8 100755 --- a/retrace/glretrace_main.cpp +++ b/retrace/glretrace_main.cpp @@ -367,7 +367,8 @@ initContext() { } /* Ensure we have adequate extension support */ - supportsTimestamp = currentContext->hasExtension("GL_ARB_timer_query"); + supportsTimestamp = currentProfile.versionGreaterOrEqual(glprofile::API_GL, 3, 3) || + currentContext->hasExtension("GL_ARB_timer_query"); supportsElapsed = currentContext->hasExtension("GL_EXT_timer_query") || supportsTimestamp; supportsOcclusion = currentProfile.versionGreaterOrEqual(glprofile::API_GL, 1, 5); supportsDebugOutput = currentContext->hasExtension("GL_ARB_debug_output"); |