summaryrefslogtreecommitdiff
path: root/tests/OffscreenContext.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-29 02:05:47 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-29 02:05:47 (GMT)
commit846970462afbe91e3c06f57c45e095a625aec0d3 (patch)
treebcd49faa6ced22e7046bf79c6024f26bb0d4b7e5 /tests/OffscreenContext.h
parentc6e5e84eec401096451f14e9e853e33c3aa88853 (diff)
More refactoring of offscreen rendering
Diffstat (limited to 'tests/OffscreenContext.h')
-rw-r--r--tests/OffscreenContext.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/OffscreenContext.h b/tests/OffscreenContext.h
index a024832..a079c3f 100644
--- a/tests/OffscreenContext.h
+++ b/tests/OffscreenContext.h
@@ -1,17 +1,8 @@
#ifndef OFFSCREENCONTEXT_H_
#define OFFSCREENCONTEXT_H_
-#ifdef __APPLE__
-#include <OpenGL/OpenGL.h>
-#else
-#include <GL/glew.h>
-#include <GL/gl.h>
-#endif
-
#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