Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix AGL.cpp
  • Loading branch information
Sonicadvance1 committed Jan 21, 2013
1 parent 2bae434 commit 0ba1794
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Source/Core/DolphinWX/Src/GLInterface/AGL.cpp
Expand Up @@ -18,6 +18,7 @@
#include "VideoConfig.h"
#include "Host.h"
#include "RenderBase.h"
#include "ConfigManager.h"

#include "VertexShaderManager.h"
#include "../GLInterface.h"
Expand Down Expand Up @@ -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;

Expand All @@ -110,6 +104,7 @@ void cInterfaceAGL::Update()
[GLWin.cocoaCtx makeCurrentContext];
s_backbuffer_width = width;
s_backbuffer_height = height;
return true;
}

// Close backend
Expand Down

0 comments on commit 0ba1794

Please sign in to comment.