Skip to content

Commit

Permalink
Fixed verbose logging
Browse files Browse the repository at this point in the history
  • Loading branch information
medcelerate committed Jul 2, 2024
1 parent f0df18b commit 4610616
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions FFGLTouchEngineFX/src/TouchEngineFX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,7 @@ std::string GenerateRandomString(size_t length)

void textureCallback(TED3D11Texture* texture, TEObjectEvent event, void* info)
{
FFGLLog::LogToHost("Texture callback");
switch (event)
{
case TEObjectEventBeginUse:
break;
case TEObjectEventEndUse:
break;
case TEObjectEventRelease:
break;
default:
break;
}
return;
}

FFGLTouchEngineFX::FFGLTouchEngineFX()
Expand Down Expand Up @@ -1160,11 +1149,13 @@ void FFGLTouchEngineFX::eventCallback(TEEvent event, TEResult result, int64_t st
break;
}
case TEEventInstanceReady:
FFGLLog::LogToHost("TouchEngine Ready");
isTouchEngineReady = true;
// The TouchEngine is ready to start rendering frames
break;

case TEEventInstanceDidUnload:
FFGLLog::LogToHost("TouchEngine Unloaded");
isTouchEngineLoaded = false;
break;
}
Expand Down

0 comments on commit 4610616

Please sign in to comment.