summaryrefslogtreecommitdiff
path: root/retrace/glstate.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2015-01-05 20:45:41 +0000
committerJosé Fonseca <jfonseca@vmware.com>2015-01-05 20:45:41 +0000
commitb0c597293060329afc1ee10d4062d30a2b272f78 (patch)
treed6145bcaae77acdaa10b0a0458fd995b56057aad /retrace/glstate.cpp
parentc49a6953b0f5cbfa2d20de4246a87efdc3b0aa52 (diff)
gltrace: Use glprofile::Profile when tracing.
Less duplication, and hopefully more future proof.
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 5f95896b..ade60442 100644
--- a/retrace/glstate.cpp
+++ b/retrace/glstate.cpp
@@ -46,7 +46,7 @@ Context::Context(void) {
glprofile::Profile profile = glprofile::getCurrentContextProfile();
- ES = profile.api == glprofile::API_GLES;
+ ES = profile.es();
ARB_draw_buffers = !ES;