]> git.cworth.org Git - apitrace/blobdiff - glws.hpp
Move tracers to wrappers subdirectory.
[apitrace] / glws.hpp
index 8294f6b320b0d5de288d958474a9e70ebfde8d7a..9afebf4b878a4b639863bb08d8bf12927fbd0495 100644 (file)
--- a/glws.hpp
+++ b/glws.hpp
@@ -42,6 +42,7 @@ enum Profile {
     PROFILE_CORE,
     PROFILE_ES1,
     PROFILE_ES2,
+    PROFILE_MAX
 };
 
 
@@ -148,7 +149,7 @@ void
 cleanup(void);
 
 Visual *
-createVisual(bool doubleBuffer = false);
+createVisual(bool doubleBuffer = false, Profile profile = PROFILE_COMPAT);
 
 Drawable *
 createDrawable(const Visual *visual, int width = 32, int height = 32);