From 2274758726d1138a2b65535244e84225c3de5304 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 11 Aug 2012 17:49:09 +0300 Subject: Move fbo code to GraphicsManager from opengl backends. --- src/safeopenglgraphics.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/safeopenglgraphics.h') 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 -- cgit v1.2.3-70-g09d2