From f63228e6230c9055b7506d4377578a3d85686ad0 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Thu, 16 May 2024 11:01:51 +0800 Subject: [PATCH] turn off debug colouring --- dart_filament/native/src/DartFilamentFFIApi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dart_filament/native/src/DartFilamentFFIApi.cpp b/dart_filament/native/src/DartFilamentFFIApi.cpp index 49942ac9..dfacd01a 100644 --- a/dart_filament/native/src/DartFilamentFFIApi.cpp +++ b/dart_filament/native/src/DartFilamentFFIApi.cpp @@ -107,9 +107,9 @@ public: std::cout << "Failed to make context current." << std::endl; return (FilamentViewer*)nullptr; } - glClearColor(0.0, 1.0, 0.0, 1.0); - glClear(GL_COLOR_BUFFER_BIT); - emscripten_webgl_commit_frame(); + // glClearColor(0.0, 1.0, 0.0, 1.0); + // glClear(GL_COLOR_BUFFER_BIT); + // emscripten_webgl_commit_frame(); _viewer = new FilamentViewer((void* const) emContext, loader, platform, uberArchivePath); MAIN_THREAD_EM_ASM({