summaryrefslogtreecommitdiff
path: root/tests/OffscreenContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/OffscreenContext.h')
-rw-r--r--tests/OffscreenContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/OffscreenContext.h b/tests/OffscreenContext.h
index 59b6e2d..0300bcb 100644
--- a/tests/OffscreenContext.h
+++ b/tests/OffscreenContext.h
@@ -7,6 +7,7 @@
#define REPORTGLERROR(task) { GLenum tGLErr = glGetError(); if (tGLErr != GL_NO_ERROR) { std::cout << "OpenGL error " << tGLErr << " while " << task << "\n"; } }
struct OffscreenContext *create_offscreen_context(int w, int h);
+void bind_offscreen_context(OffscreenContext *ctx);
bool teardown_offscreen_context(OffscreenContext *ctx);
bool save_framebuffer(OffscreenContext *ctx, const char *filename);
contact: Jan Huwald // Impressum