mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Move GLInterface around to remove VideoBackends dependency on DolphinWX
This commit is contained in:
@ -49,6 +49,7 @@ Make AA apply instantly during gameplay if possible
|
||||
#include "Core/Host.h"
|
||||
|
||||
#include "VideoBackends/OGL/FramebufferManager.h"
|
||||
#include "VideoBackends/OGL/GLInterfaceBase.h"
|
||||
#include "VideoBackends/OGL/GLUtil.h"
|
||||
#include "VideoBackends/OGL/PerfQuery.h"
|
||||
#include "VideoBackends/OGL/PostProcessing.h"
|
||||
@ -82,11 +83,6 @@ Make AA apply instantly during gameplay if possible
|
||||
#include "Common/IniFile.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
#include "DolphinWX/VideoConfigDiag.h"
|
||||
#include "DolphinWX/Debugger/DebuggerPanel.h"
|
||||
#endif // HAVE_WX
|
||||
|
||||
namespace OGL
|
||||
{
|
||||
|
||||
@ -160,11 +156,8 @@ static void InitBackendInfo()
|
||||
|
||||
void VideoBackend::ShowConfig(void *_hParent)
|
||||
{
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
InitBackendInfo();
|
||||
VideoConfigDiag diag((wxWindow*)_hParent, "OpenGL", "gfx_opengl");
|
||||
diag.ShowModal();
|
||||
#endif
|
||||
Host_ShowVideoConfig(_hParent, "OpenGL", "gfx_opengl");
|
||||
}
|
||||
|
||||
bool VideoBackend::Initialize(void *&window_handle)
|
||||
|
Reference in New Issue
Block a user