mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Refactoring and cleanup of GLInterface (now GLContext)
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
|
||||
#include "Common/Common.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/GL/GLInterfaceBase.h"
|
||||
#include "Common/GL/GLContext.h"
|
||||
|
||||
#include "VideoBackends/Software/Clipper.h"
|
||||
#include "VideoBackends/Software/DebugUtil.h"
|
||||
@ -88,7 +88,7 @@ bool VideoSoftware::Initialize(void* window_handle)
|
||||
Rasterizer::Init();
|
||||
DebugUtil::Init();
|
||||
|
||||
GLInterface->MakeCurrent();
|
||||
g_main_gl_context->MakeCurrent();
|
||||
SWOGLWindow::s_instance->Prepare();
|
||||
|
||||
g_renderer = std::make_unique<SWRenderer>();
|
||||
@ -116,4 +116,4 @@ void VideoSoftware::Shutdown()
|
||||
g_renderer.reset();
|
||||
ShutdownShared();
|
||||
}
|
||||
}
|
||||
} // namespace SW
|
||||
|
Reference in New Issue
Block a user