From 4610616da4d45acdb174b12c051b6a4ba68b9253 Mon Sep 17 00:00:00 2001 From: medcelerate Date: Tue, 2 Jul 2024 08:30:01 -0400 Subject: [PATCH] Fixed verbose logging --- FFGLTouchEngineFX/src/TouchEngineFX.cpp | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/FFGLTouchEngineFX/src/TouchEngineFX.cpp b/FFGLTouchEngineFX/src/TouchEngineFX.cpp index c611eb9..6886b6c 100644 --- a/FFGLTouchEngineFX/src/TouchEngineFX.cpp +++ b/FFGLTouchEngineFX/src/TouchEngineFX.cpp @@ -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() @@ -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; }