summaryrefslogtreecommitdiff
path: root/retrace/glstate.cpp
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-06-27 11:07:05 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-06-27 11:07:05 +0100
commite01aa3bc8a84cf122187de5d16aad2c8772949e3 (patch)
tree7c81d9a6dd27ae81ea58362793d1a72a96b1ecb7 /retrace/glstate.cpp
parentd5ac9ad120439327b042681669fe6f2d3daed8d7 (diff)
egltrace: Properly support KHR_debug on ES.
KHR_debug spec states that on OpenGL ES all entrypoints should have KHR suffixes.
Diffstat (limited to 'retrace/glstate.cpp')
-rw-r--r--retrace/glstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/retrace/glstate.cpp b/retrace/glstate.cpp
index 7701307b..ea7a8e53 100644
--- a/retrace/glstate.cpp
+++ b/retrace/glstate.cpp
@@ -56,7 +56,7 @@ Context::Context(void) {
// Check extensions we use.
ARB_sampler_objects = ext.has("GL_ARB_sampler_objects");
- KHR_debug = ext.has("GL_KHR_debug");
+ KHR_debug = !ES && ext.has("GL_KHR_debug");
EXT_debug_label = ext.has("GL_EXT_debug_label");
}