mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-01 14:41:49 +00:00
Initial push of GLES and GLUtil file breakup.
This commit is contained in:
parent
0811311604
commit
b78f5debe6
17 changed files with 582 additions and 810 deletions
|
@ -165,7 +165,8 @@ bool VideoBackend::Initialize(void *&window_handle)
|
|||
g_Config.VerifyValidity();
|
||||
UpdateActiveConfig();
|
||||
|
||||
if (!OpenGL_Create(window_handle))
|
||||
InitInterface();
|
||||
if (!GLInterface->CreateWindow(window_handle))
|
||||
return false;
|
||||
|
||||
s_BackendInitialized = true;
|
||||
|
@ -177,7 +178,7 @@ bool VideoBackend::Initialize(void *&window_handle)
|
|||
// Run from the graphics thread
|
||||
void VideoBackend::Video_Prepare()
|
||||
{
|
||||
OpenGL_MakeCurrent();
|
||||
GLInterface->MakeCurrent();
|
||||
|
||||
g_renderer = new Renderer;
|
||||
|
||||
|
@ -236,7 +237,7 @@ void VideoBackend::Shutdown()
|
|||
g_renderer = NULL;
|
||||
g_texture_cache = NULL;
|
||||
}
|
||||
OpenGL_Shutdown();
|
||||
GLInterface->Shutdown();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue