mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
GLInterface: Destroy GLWin
Everything is now safely tucked inside each individual GLInterface.
This commit is contained in:
@ -2,10 +2,19 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "DolphinWX/GLInterface/GLInterface.h"
|
||||
#include "VideoBackends/OGL/GLInterfaceBase.h"
|
||||
|
||||
GLWindow GLWin;
|
||||
#if USE_EGL
|
||||
#include "DolphinWX/GLInterface/EGL.h"
|
||||
#elif defined(__APPLE__)
|
||||
#include "DolphinWX/GLInterface/AGL.h"
|
||||
#elif defined(_WIN32)
|
||||
#include "DolphinWX/GLInterface/WGL.h"
|
||||
#elif HAVE_X11
|
||||
#include "DolphinWX/GLInterface/GLX.h"
|
||||
#else
|
||||
#error Platform doesnt have a GLInterface
|
||||
#endif
|
||||
|
||||
cInterfaceBase* HostGL_CreateGLInterface()
|
||||
{
|
||||
|
Reference in New Issue
Block a user