summaryrefslogtreecommitdiff
path: root/tests/OffscreenContext.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-08-01 23:43:29 (GMT)
committerMarius Kintel <marius@kintel.net>2011-08-01 23:43:29 (GMT)
commit0846b4c2ea2eefa643917c928035fd34abf5126f (patch)
tree14d177f1b47e620b727dfc2166aa33ef083555fb /tests/OffscreenContext.h
parent8dc35b539b996de45ef51db1635b4de8d6ba9244 (diff)
Minor updates. This works now, but needs a bugfix in OpenCSG
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