Skip to content

Commit

Permalink
Changed to Loading check
Browse files Browse the repository at this point in the history
  • Loading branch information
medcelerate committed May 11, 2024
1 parent d22daea commit ac86fcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/VDJTouchEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ HRESULT VDJ_API VDJTouchEngine::OnDraw() {
return Result;
}

if (!isTouchEngineReady) {
if (!isTouchEngineLoaded) {
return S_FALSE;

}
Expand Down Expand Up @@ -585,6 +585,7 @@ bool VDJTouchEngine::LoadTEFile()
// Load the tox file into the TouchEngine
// 1. Create a TouchEngine object


if (instance == nullptr)
{
LoadTouchEngine();
Expand All @@ -609,6 +610,7 @@ bool VDJTouchEngine::LoadTEFile()
return false;
}


result = TEInstanceLoad(instance);
if (result != TEResultSuccess)
{
Expand Down

0 comments on commit ac86fcb

Please sign in to comment.