]> git.cworth.org Git - apitrace/blobdiff - glstate.cpp
Move tracers to wrappers subdirectory.
[apitrace] / glstate.cpp
index cac9f4e44a0d96cc9f7909f9b5f4379516133f00..0d5a5f3bd629ec2677451098f44060ad5d4525c6 100644 (file)
@@ -54,7 +54,7 @@ Context::Context(void) {
             version[6] == ' ' &&
             version[7] == 'E' &&
             version[8] == 'S' &&
-            version[9] == ' ') {
+            (version[9] == ' ' || version[9] == '-')) {
             ES = true;
         }
     }
@@ -135,7 +135,7 @@ void dumpCurrentContext(std::ostream &os)
     Context context;
 
     dumpParameters(json, context);
-    dumpShadersUniforms(json);
+    dumpShadersUniforms(json, context);
     dumpTextures(json, context);
     dumpFramebuffer(json, context);