mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
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:
parent
2d6d3ddad8
commit
afced1fa98
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user