diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-11 17:49:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-11 17:49:09 +0300 |
commit | 2274758726d1138a2b65535244e84225c3de5304 (patch) | |
tree | f55922ce637b797ea42fe0392126961b2cc3cc32 /src/graphicsmanager.h | |
parent | 7de8936d864564b2a9fafaa74af84ec10e755388 (diff) | |
download | plus-2274758726d1138a2b65535244e84225c3de5304.tar.gz plus-2274758726d1138a2b65535244e84225c3de5304.tar.bz2 plus-2274758726d1138a2b65535244e84225c3de5304.tar.xz plus-2274758726d1138a2b65535244e84225c3de5304.zip |
Move fbo code to GraphicsManager from opengl backends.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index 85fe5f548..a82739bc5 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -26,6 +26,8 @@ class Graphics; +struct FBOInfo; + class GraphicsManager { public: @@ -53,6 +55,10 @@ class GraphicsManager bool checkGLVersion(int major, int minor) const; + void createFBO(int width, int height, FBOInfo *fbo); + + void deleteFBO(FBOInfo *fbo); + private: std::set<std::string> mExtensions; |