summaryrefslogtreecommitdiff
path: root/tests/OffscreenContext.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-10-30 01:47:21 (GMT)
committerMarius Kintel <marius@kintel.net>2011-10-30 01:47:21 (GMT)
commitf64dc11d330a50c901facfd1cf5e22b2ca2d5ead (patch)
tree534b55591fc02c7776a1355a609bc979e210c5a8 /tests/OffscreenContext.h
parent9c95cd4c52d649f77169a7481669a5d384968ead (diff)
parent56979129695ca12ae86bc9b3ea988f7a720d4c8a (diff)
Merge branch 'visitortests'
Diffstat (limited to 'tests/OffscreenContext.h')
-rw-r--r--tests/OffscreenContext.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/OffscreenContext.h b/tests/OffscreenContext.h
index 0300bcb..a079c3f 100644
--- a/tests/OffscreenContext.h
+++ b/tests/OffscreenContext.h
@@ -1,11 +1,8 @@
#ifndef OFFSCREENCONTEXT_H_
#define OFFSCREENCONTEXT_H_
-#include <OpenGL/OpenGL.h>
#include <iostream> // for error output
-#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);
contact: Jan Huwald // Impressum