Implemented OpenGL_Update() for SDL.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@319 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-08-26 01:21:25 +00:00
parent 2d6d3ddad8
commit afced1fa98

View file

@ -484,7 +484,10 @@ bool OpenGL_MakeCurrent()
void OpenGL_Update()
{
#if USE_SDL
//TODO
SDL_Surface *surface = SDL_GetVideoSurface();
if (!surface) return;
nBackbufferWidth = surface->w;
nBackbufferHeight = surface->h;
#elif defined(_WIN32)
if (!EmuWindow::GetParentWnd()) return;