don't mark texture frame available when USE_BACKING_WINDOW is true

This commit is contained in:
Nick Fisher committed 2024-03-06 19:28:14 +11:00
1 parent 732a6d0527
commit 150f409ae1
1 file changed
+2
+2
View File
@@ -157,7 +157,9 @@ void FlutterFilamentPlugin::RenderCallback() {
#ifdef USE_ANGLE #ifdef USE_ANGLE
_active->RenderCallback(); _active->RenderCallback();
#endif #endif
#if !WGL_USE_BACKING_WINDOW
_textureRegistrar->MarkTextureFrameAvailable(flutterTextureId); _textureRegistrar->MarkTextureFrameAvailable(flutterTextureId);
#endif
} }
} }