dolphin/Source/Plugins/Plugin_VideoOGL/Src/SDLWindow.h
nakeee a7c4697d22 more code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1622 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 21:02:43 +00:00

29 lines
554 B
C++

#ifndef _SDLWINDOW_H
#define _SDLWINDOW_H
#include "GLWindow.h"
#if defined HAVE_SDL && HAVE_SDL
#include <SDL.h>
class SDLWindow : public GLWindow
{
public:
virtual void SwapBuffers();
virtual void SetWindowText(const char *text);
virtual bool PeekMessages();
virtual void Update();
virtual bool MakeCurrent();
static bool valid() { return true; }
~SDLWindow();
SDLWindow(int _iwidth, int _iheight);
};
#else
class SDLWindow : public GLWindow
{
public:
SDLWindow(int _iwidth, int _iheight) {}
};
#endif
#endif