diff options
author | José Fonseca <jfonseca@vmware.com> | 2015-01-05 20:45:41 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2015-01-05 20:45:41 +0000 |
commit | b0c597293060329afc1ee10d4062d30a2b272f78 (patch) | |
tree | d6145bcaae77acdaa10b0a0458fd995b56057aad /retrace/glstate.cpp | |
parent | c49a6953b0f5cbfa2d20de4246a87efdc3b0aa52 (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.cpp | 2 |
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; |