Alejandro Marzini
ef880dd5da
OPENGL: Add antialiasing, hotkey: ctrl+alt+f. Fixed minor bugs.
...
svn-id: r51146
2010-07-22 15:36:50 +00:00
Max Horn
5b626533cd
Change CHECK_GL_ERROR to not take a 'call statement' as parameter
...
Passing a 'call statement' to CHECK_GL_ERROR has various issues.
For once, it confuses code parsers in many editors and other
tools that work with C++ source directly.
Moreover, this can lead to subtle bugs if a mistake is
made with the definition of CHECK_GL_ERROR.
It also causes incorrect warnings if CHECK_GL_ERROR is
used with an "empty" call statement.
svn-id: r51050
2010-07-20 07:10:25 +00:00
Alejandro Marzini
302400a701
OPENGL: Implement fullscreen mode.
...
svn-id: r51049
2010-07-20 04:32:31 +00:00
Alejandro Marzini
6215f2b6d4
OPENGL: Fix issue when GFX changes.
...
svn-id: r51013
2010-07-19 02:36:43 +00:00
Alejandro Marzini
03d66c4012
Fixed rect size when drawing npot textures. Added OpenGL attr for SDL.
...
svn-id: r50979
2010-07-18 05:32:44 +00:00
Joost Peters
3995b2d8f7
change post-increment to pre-increment in return value of nextHighest2(), as some compilers will not return the incremented value otherwise
...
svn-id: r50946
2010-07-16 22:20:21 +00:00
Alejandro Marzini
cfe85d6b9f
Added basic screen drawing (only overlay working).
...
svn-id: r50930
2010-07-16 04:45:47 +00:00
Alejandro Marzini
25f1980dad
Optimized nextHigher2.
...
svn-id: r50907
2010-07-15 04:20:21 +00:00
Alejandro Marzini
d677ba5a11
Replaced nextHigher2, so CHAR_BIT define is not needed.
...
svn-id: r50904
2010-07-15 02:49:59 +00:00
Alejandro Marzini
84ceae9328
Check if USE_OPENGL is defined for compiling OpenGL code.
...
svn-id: r50842
2010-07-13 05:38:10 +00:00
Alejandro Marzini
8b6a670391
OpenGL manager: Implemented PixelFormat functions. Implemented GFX methods. Changed how GLTexture determines its format.
...
svn-id: r50811
2010-07-12 06:00:19 +00:00
Alejandro Marzini
85034dc730
Added BaseSdlGraphicsManager. Added GLTexture.
...
svn-id: r50795
2010-07-10 22:47:29 +00:00