forked from dolphin-emu/dolphin
GLContext: Use destructor instead of Shutdown() to cleanup
Also uses the Initialize() method to make the context current.
This commit is contained in:
@@ -166,7 +166,6 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi)
|
||||
if (!main_gl_context)
|
||||
return false;
|
||||
|
||||
main_gl_context->MakeCurrent();
|
||||
if (!InitializeGLExtensions(main_gl_context.get()) || !FillBackendInfo())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user