]> git.cworth.org Git - apitrace/blobdiff - retrace/glws.hpp
Share more code between glretrace and d3dretrace.
[apitrace] / retrace / glws.hpp
index 9afebf4b878a4b639863bb08d8bf12927fbd0495..05903a7b55281b96b6d00058c844fe551a2b9f7e 100644 (file)
@@ -46,9 +46,6 @@ enum Profile {
 };
 
 
-extern bool debug;
-
-
 bool
 checkExtension(const char *extName, const char *extString);
 
@@ -155,7 +152,7 @@ Drawable *
 createDrawable(const Visual *visual, int width = 32, int height = 32);
 
 Context *
-createContext(const Visual *visual, Context *shareContext = 0, Profile profile = PROFILE_COMPAT);
+createContext(const Visual *visual, Context *shareContext = 0, Profile profile = PROFILE_COMPAT, bool debug = false);
 
 bool
 makeCurrent(Drawable *drawable, Context *context);