summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2015-01-08 23:45:43 +0000
committerJosé Fonseca <jfonseca@vmware.com>2015-01-08 23:46:25 +0000
commit34ea6163f9f0e0122fb0bb03607eccdca31ced7a (patch)
tree086a5e82b4083b1f723d62f7f5c85b5bf2125e4b /helpers
parentef5d837b06c473b4e7139a6e13550cfd602aba88 (diff)
gltrace: Fix PBO unpacking on core contexts.
gltrace::PROFILE_COMPAT was a misnomer -- it actually meant desktop profile. So b0c597293060329afc1ee10d4062d30a2b272f78 broke PBO for core contexts.
Diffstat (limited to 'helpers')
-rw-r--r--helpers/glprofile.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/glprofile.hpp b/helpers/glprofile.hpp
index 7e81b756..5915e897 100644
--- a/helpers/glprofile.hpp
+++ b/helpers/glprofile.hpp
@@ -60,8 +60,8 @@ struct Profile {
}
inline bool
- compat(void) {
- return api == API_GL && !core;
+ desktop(void) {
+ return api == API_GL;
}
inline bool