ogl: fix single core crash

osx is missing, sorry but I'm too stupid for objective-c
This commit is contained in:
degasus
2013-04-11 03:32:07 +02:00
parent 6af14bd4ce
commit 3c87512180
8 changed files with 24 additions and 2 deletions

View File

@ -131,6 +131,11 @@ bool cInterfaceWGL::MakeCurrent()
return wglMakeCurrent(hDC, hRC) ? true : false;
}
bool cInterfaceWGL::ClearCurrent()
{
return wglMakeCurrent(hDC, NULL) ? true : false;
}
// Update window width, size and etc. Called from Render.cpp
void cInterfaceWGL::Update()
{