Fresco/SDL/src SDLGL.cc,1.13,1.14

Tobias Hunger <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/SDL/src
In directory purcel:/tmp/cvs-serv2003

Modified Files:
	SDLGL.cc 
Log Message:
Fix bug268: Remove 2D only directives from SDL_SetVideoMode.


Index: SDLGL.cc
===================================================================
RCS file: /cvs/fresco/Fresco/SDL/src/SDLGL.cc,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- SDLGL.cc	23 Dec 2002 01:46:04 -0000	1.13
+++ SDLGL.cc	19 Apr 2003 11:46:12 -0000	1.14
@@ -104,11 +104,7 @@
         dynamic_cast<SDL::Drawable *>(::Console::instance()->drawable());
 
     SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
-    surface = SDL_SetVideoMode(my_width, my_height, 0,
-                               SDL_HWSURFACE | SDL_HWPALETTE |
-                               SDL_OPENGL |
-                               SDL_DOUBLEBUF |
-                               SDL_HWACCEL);
+    surface = SDL_SetVideoMode(my_width, my_height, 0, SDL_OPENGL);
     SDL_WM_SetCaption("Berlin on SDL (OpenGL)", NULL);
 
     int bits;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.