summaryrefslogtreecommitdiff
path: root/tests/OffscreenContext.h
diff options
context:
space:
mode:
authorBrad Pitcher <bradpitcher@gmail.com>2011-11-01 18:29:29 (GMT)
committerBrad Pitcher <bradpitcher@gmail.com>2011-11-01 18:29:29 (GMT)
commit0eacddfd8148f14ee0ddfe2eb66b82774c88afbe (patch)
tree6982ea59564090ea858d12d86d3699e83887f1f9 /tests/OffscreenContext.h
parentea7e4988d44249946b620d5973b230cf1a0606ca (diff)
parente2caf3726d68ff1fef63113519049abffc0563af (diff)
merge master
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