Added support to texture loading in other thread when a shared gl context is available.

This commit is contained in:
Martín Lucas Golini
2013-06-29 20:15:24 -03:00
parent beb4716bce
commit 3b38cc5572
14 changed files with 115 additions and 18 deletions

View File

@@ -1212,8 +1212,6 @@ void cEETest::Screen5() {
}
void cEETest::Render() {
mResLoad.Update();
HWidth = mWindow->GetWidth() * 0.5f;
HHeight = mWindow->GetHeight() * 0.5f;
@@ -1576,6 +1574,8 @@ void cEETest::Process() {
Input();
mResLoad.Update();
if ( mFontLoader.IsLoaded() ) {
Render();
} else {