diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-09 00:50:14 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-09 00:50:14 -0400 |
| commit | e266635f404bd59bb9d93ad34492ea33d236ae6a (patch) | |
| tree | 2b6b38418c1f2390a98f89a0680ad8b6cc1335cd /Source/Core/DolphinWX/GLInterface/GLX.cpp | |
| parent | 907e0d094fd9fe396018c57e5fce3937d951af13 (diff) | |
| parent | dc2bc621a4ab405671568c831e8228ad94aaf565 (diff) | |
Merge pull request #740 from lioncash/host
Core: Kill off a few Host interface functions.
Diffstat (limited to 'Source/Core/DolphinWX/GLInterface/GLX.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/GLInterface/GLX.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Source/Core/DolphinWX/GLInterface/GLX.cpp b/Source/Core/DolphinWX/GLInterface/GLX.cpp index 8c9005bd81..320d0f884a 100644 --- a/Source/Core/DolphinWX/GLInterface/GLX.cpp +++ b/Source/Core/DolphinWX/GLInterface/GLX.cpp @@ -4,8 +4,6 @@ #include <string> -#include "Core/Host.h" - #include "DolphinWX/GLInterface/GLInterface.h" #include "VideoCommon/RenderBase.h" @@ -41,13 +39,6 @@ void cInterfaceGLX::Swap() // Call browser: Core.cpp:EmuThread() > main.cpp:Video_Initialize() bool cInterfaceGLX::Create(void *&window_handle) { - int _tx, _ty, _twidth, _theight; - Host_GetRenderWindowSize(_tx, _ty, _twidth, _theight); - - // Control window size and picture scaling - s_backbuffer_width = _twidth; - s_backbuffer_height = _theight; - int glxMajorVersion, glxMinorVersion; // attributes for a single buffered visual in RGBA format with at least @@ -113,11 +104,6 @@ bool cInterfaceGLX::Create(void *&window_handle) return false; } - GLWin.x = _tx; - GLWin.y = _ty; - GLWin.width = _twidth; - GLWin.height = _theight; - XWindow.CreateXWindow(); window_handle = (void *)GLWin.win; return true; @@ -125,14 +111,6 @@ bool cInterfaceGLX::Create(void *&window_handle) bool cInterfaceGLX::MakeCurrent() { - // connect the glx-context to the window - #if defined(HAVE_WX) && (HAVE_WX) - Host_GetRenderWindowSize(GLWin.x, GLWin.y, - (int&)GLWin.width, (int&)GLWin.height); - XMoveResizeWindow(GLWin.evdpy, GLWin.win, GLWin.x, GLWin.y, - GLWin.width, GLWin.height); - #endif - bool success = glXMakeCurrent(GLWin.dpy, GLWin.win, GLWin.ctx); if (success) { |
