summaryrefslogtreecommitdiff
path: root/src/graphics/Renderer.h
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2012-08-12 15:38:26 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2012-08-12 15:38:26 (GMT)
commit07821d9c858ea8fe467b0672b0c9d11552bfe8da (patch)
treeb1b27fd1eaa92050c5e5c1545d702a22f5fd0876 /src/graphics/Renderer.h
parentf1fc3811aa68f547688ac53c67ba1f5e1e92f161 (diff)
downloadpowder-07821d9c858ea8fe467b0672b0c9d11552bfe8da.zip
powder-07821d9c858ea8fe467b0672b0c9d11552bfe8da.tar.gz
Minor opengl fixes, still not compiling, look at line 14 in src/graphics/OpenGLGraphics.cpp, build/src/graphics/OpenGLGraphics.cpp:14:15: error: expected primary-expression before '{' token
build/src/graphics/OpenGLGraphics.cpp:14:15: error: expected ')' before '{' token '
Diffstat (limited to 'src/graphics/Renderer.h')
-rw-r--r--src/graphics/Renderer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/graphics/Renderer.h b/src/graphics/Renderer.h
index cc7debe..606dbc8 100644
--- a/src/graphics/Renderer.h
+++ b/src/graphics/Renderer.h
@@ -85,7 +85,7 @@ public:
void checkShader(GLuint shader, char * shname);
void checkProgram(GLuint program, char * progname);
void loadShaders();
-#else
+#endif
pixel * vid;
pixel * persistentVid;
pixel * warpVid;
@@ -111,7 +111,6 @@ public:
void gradientrect(int x, int y, int width, int height, int r, int g, int b, int a, int r2, int g2, int b2, int a2);
void draw_image(pixel *img, int x, int y, int w, int h, int a);
-#endif
VideoBuffer DumpFrame();