mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 02:46:49 +00:00
Ooops
svn-id: r8615
This commit is contained in:
parent
a700f90a5f
commit
85d926fa66
@ -514,7 +514,6 @@ bool OSystem_SDL_OpenGL::poll_event(Event *event) {
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user