OPENGL: Add antialiasing, hotkey: ctrl+alt+f. Fixed minor bugs.

svn-id: r51146
This commit is contained in:
Alejandro Marzini 2010-07-22 15:36:50 +00:00
parent 0c2d90f090
commit ef880dd5da
5 changed files with 91 additions and 23 deletions

View file

@ -102,6 +102,7 @@ public:
protected:
virtual void initGL();
virtual void loadTextures();
//
// GFX and video
@ -117,6 +118,7 @@ protected:
bool needHotswap;
bool needUpdatescreen;
bool newContext;
bool filterChanged;
#ifdef USE_RGB_COLOR
bool formatChanged;
#endif
@ -133,6 +135,7 @@ protected:
int mode;
int scaleFactor;
bool antialiasing;
int screenWidth, screenHeight;
int overlayWidth, overlayHeight;