mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-16 05:42:55 +00: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()
|
void OpenGL_Update()
|
||||||
{
|
{
|
||||||
#if USE_SDL
|
#if USE_SDL
|
||||||
//TODO
|
SDL_Surface *surface = SDL_GetVideoSurface();
|
||||||
|
if (!surface) return;
|
||||||
|
nBackbufferWidth = surface->w;
|
||||||
|
nBackbufferHeight = surface->h;
|
||||||
|
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
if (!EmuWindow::GetParentWnd()) return;
|
if (!EmuWindow::GetParentWnd()) return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user