summaryrefslogtreecommitdiff
path: root/retrace/glretrace.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'retrace/glretrace.hpp')
-rw-r--r--retrace/glretrace.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/retrace/glretrace.hpp b/retrace/glretrace.hpp
index 40bd0cf8..3882a063 100644
--- a/retrace/glretrace.hpp
+++ b/retrace/glretrace.hpp
@@ -67,6 +67,7 @@ public:
// Bound drawable
glws::Drawable *drawable = nullptr;
+ glws::Drawable *readable = nullptr;
// Active program (unswizzled) for profiling
GLuint currentUserProgram = 0;
@@ -152,6 +153,10 @@ createContext(Context *shareContext = 0);
bool
makeCurrent(trace::Call &call, glws::Drawable *drawable, Context *context);
+bool
+makeCurrent(trace::Call &call, glws::Drawable *drawable,
+ glws::Drawable *readable, Context *context);
+
void
checkGlError(trace::Call &call);