From 0ba1794df3ee479ade6520ac46860610774ffdff Mon Sep 17 00:00:00 2001 From: Sonicadvance1 Date: Mon, 21 Jan 2013 21:48:02 +0000 Subject: [PATCH] Fix AGL.cpp --- Source/Core/DolphinWX/Src/GLInterface/AGL.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp b/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp index 30ff4a31cf..cf68c0baa4 100644 --- a/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp +++ b/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp @@ -18,6 +18,7 @@ #include "VideoConfig.h" #include "Host.h" #include "RenderBase.h" +#include "ConfigManager.h" #include "VertexShaderManager.h" #include "../GLInterface.h" @@ -90,13 +91,6 @@ bool cInterfaceAGL::Create(void *&window_handle) } bool cInterfaceAGL::MakeCurrent() -{ - [GLWin.cocoaCtx makeCurrentContext]; - return true; -} - -// Update window width, size and etc. Called from Render.cpp -void cInterfaceAGL::Update() { int width, height; @@ -110,6 +104,7 @@ void cInterfaceAGL::Update() [GLWin.cocoaCtx makeCurrentContext]; s_backbuffer_width = width; s_backbuffer_height = height; + return true; } // Close backend