mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
commit
aae1630949
@ -127,12 +127,7 @@ bool cInterfaceWGL::Create(void *&window_handle)
|
||||
|
||||
bool cInterfaceWGL::MakeCurrent()
|
||||
{
|
||||
return wglMakeCurrent(hDC, hRC) ? true : false;
|
||||
}
|
||||
|
||||
bool cInterfaceWGL::ClearCurrent()
|
||||
{
|
||||
bool success = wglMakeCurrent(hDC, nullptr) ? true : false;
|
||||
bool success = wglMakeCurrent(hDC, hRC) ? true : false;
|
||||
if (success)
|
||||
{
|
||||
// Grab the swap interval function pointer
|
||||
@ -141,6 +136,11 @@ bool cInterfaceWGL::ClearCurrent()
|
||||
return success;
|
||||
}
|
||||
|
||||
bool cInterfaceWGL::ClearCurrent()
|
||||
{
|
||||
return wglMakeCurrent(hDC, nullptr) ? true : false;
|
||||
}
|
||||
|
||||
// Update window width, size and etc. Called from Render.cpp
|
||||
void cInterfaceWGL::Update()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user