summaryrefslogtreecommitdiff
path: root/src/safeopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-11 17:49:09 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-11 17:49:09 +0300
commit2274758726d1138a2b65535244e84225c3de5304 (patch)
treef55922ce637b797ea42fe0392126961b2cc3cc32 /src/safeopenglgraphics.h
parent7de8936d864564b2a9fafaa74af84ec10e755388 (diff)
downloadmanaverse-2274758726d1138a2b65535244e84225c3de5304.tar.gz
manaverse-2274758726d1138a2b65535244e84225c3de5304.tar.bz2
manaverse-2274758726d1138a2b65535244e84225c3de5304.tar.xz
manaverse-2274758726d1138a2b65535244e84225c3de5304.zip
Move fbo code to GraphicsManager from opengl backends.
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r--src/safeopenglgraphics.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h
index 304c62d85..8a5f7bc17 100644
--- a/src/safeopenglgraphics.h
+++ b/src/safeopenglgraphics.h
@@ -28,6 +28,8 @@
#include "graphics.h"
+#include "resources/fboinfo.h"
+
//#define NO_SDL_GLEXT
#define GL_GLEXT_PROTOTYPES 1
@@ -132,9 +134,7 @@ class SafeOpenGLGraphics : public Graphics
private:
bool mAlpha, mTexture;
bool mColorAlpha;
- GLuint mFboId;
- GLuint mTextureId;
- GLuint mRboId;
+ FBOInfo mFbo;
};
#endif