mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
Move GLInterface around to remove VideoBackends dependency on DolphinWX
This commit is contained in:
parent
7e83a0ea9b
commit
226a9c2392
30 changed files with 71 additions and 45 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue