support for OpenGL 2.0

* use OpenGL 2.0 auxiliary buffers when FBO is not supported, thus this means that OpenGL 3 is not a requirement anymore, so otclient might work in older video cards
* map zooming will never work well with Opengl 2.0 because of glCopyTexSubImage2D limitation
This commit is contained in:
Eduardo Bart
2012-03-20 19:26:07 -03:00
parent 5c35938a92
commit 01d5fad315
5 changed files with 78 additions and 26 deletions

View File

@@ -32,7 +32,7 @@ public:
void init();
void terminate();
bool isExtensionSupported(const char *extension);
bool hasFBO();
void resize(const Size& size);
void beginRender();