mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-04 20:46:29 +03:00
Added support to texture loading in other thread when a shared gl context is available.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user