A first attempt to make a simple and clean way of an on the fly videomode change.
authorRicardo Cruz <rick2@aeiou.pt>
Mon, 12 Apr 2004 21:14:17 +0000 (21:14 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Mon, 12 Apr 2004 21:14:17 +0000 (21:14 +0000)
commitc0f792760991950d94443a09cacf777db4a617e8
treea7f39b5d32cc45085d4c33976689fe03058f082e
parent1b892d1a9a93b4dc3e6b69410208ca7eca336413
A first attempt to make a simple and clean way of an on the fly videomode change.
But there is this problem:
it seems to work on the first transition from SDL to OpenGL, but doesn't work well in the following transitions to OpenGL.
I think it is not really related with the texture code, but with the st_video_setup_gl(). The way OpenGL is initialized.
Ingo/Tobias, please give a look at this ;)

SVN-Revision: 507
src/setup.cpp
src/texture.cpp