[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl_gl.cpp,1.39,1.40
Travis Howell
kirben at users.sourceforge.net
Sun Jun 22 07:32:03 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv10092/backends/sdl
Modified Files:
sdl_gl.cpp
Log Message:
Revert poll_event change
Index: sdl_gl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl_gl.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- sdl_gl.cpp 22 Jun 2003 14:18:33 -0000 1.39
+++ sdl_gl.cpp 22 Jun 2003 14:31:17 -0000 1.40
@@ -47,7 +47,7 @@
// Get the next event.
// Returns true if an event was retrieved.
- bool poll_event(Event *event);
+ //bool poll_event(Event *event);
protected:
FB2GL fb2gl;
@@ -505,13 +505,16 @@
_forceFull = false;
}
+/*
bool OSystem_SDL_OpenGL::poll_event(Event *event) {
SDL_Event ev;
ev.type = 0;
+
SDL_PeepEvents(&ev, 1, SDL_GETEVENT, SDL_VIDEORESIZEMASK);
if (_usingOpenGL && ev.type == SDL_VIDEORESIZE) {
+ warning("This is a trigger");
int w = ev.resize.w;
int h = ev.resize.h;
glViewport(0, 0, (GLsizei)w, (GLsizei)h);
@@ -524,6 +527,7 @@
return OSystem_SDL_Common::poll_event(event);
}
+*/
uint32 OSystem_SDL_OpenGL::property(int param, Property *value) {
More information about the Scummvm-git-logs
mailing list