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/normalopenglgraphics.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/normalopenglgraphics.h') diff --git a/src/normalopenglgraphics.h b/src/normalopenglgraphics.h index 5c86f40e4..875b04bee 100644 --- a/src/normalopenglgraphics.h +++ b/src/normalopenglgraphics.h @@ -29,11 +29,13 @@ #include "main.h" #include "graphics.h" +#include "resources/fboinfo.h" + //#define NO_SDL_GLEXT #define GL_GLEXT_PROTOTYPES 1 #include -//#include +#include #include @@ -162,9 +164,7 @@ class NormalOpenGLGraphics : public Graphics GLint *mIntVertArray; bool mAlpha, mTexture; bool mColorAlpha; - GLuint mFboId; - GLuint mTextureId; - GLuint mRboId; + FBOInfo mFbo; #ifdef DEBUG_BIND_TEXTURE std::string mOldTexture; unsigned mOldTextureId; -- cgit v1.2.3-60-g2f50