]> git.cworth.org Git - apitrace/blobdiff - retrace/glretrace.hpp
replay: Support applications mixing glCreateProgramObjectARB and glUseProgram
[apitrace] / retrace / glretrace.hpp
index 90c4c81693419233af27686eddcd8d23db4475f7..7441b56938e22481e0110b181b74b7de81a55c98 100644 (file)
@@ -41,10 +41,7 @@ struct Context {
     {
     }
 
-    ~Context()
-    {
-        delete wsContext;
-    }
+    ~Context();
 
     glws::Context* wsContext;
 
@@ -63,7 +60,7 @@ struct Context {
 
 extern bool insideList;
 extern bool insideGlBeginEnd;
-
+extern bool supportsARBShaderObjects;
 
 Context *
 getCurrentContext(void);
@@ -79,6 +76,9 @@ createDrawable(glws::Profile profile);
 glws::Drawable *
 createDrawable(void);
 
+glws::Drawable *
+createPbuffer(int width, int height);
+
 Context *
 createContext(Context *shareContext, glws::Profile profile);