turn off debug colouring

This commit is contained in:
Nick Fisher
2024-05-16 11:01:51 +08:00
parent 39e1eddf0d
commit f63228e623

View File

@@ -107,9 +107,9 @@ public:
std::cout << "Failed to make context current." << std::endl; std::cout << "Failed to make context current." << std::endl;
return (FilamentViewer*)nullptr; return (FilamentViewer*)nullptr;
} }
glClearColor(0.0, 1.0, 0.0, 1.0); // glClearColor(0.0, 1.0, 0.0, 1.0);
glClear(GL_COLOR_BUFFER_BIT); // glClear(GL_COLOR_BUFFER_BIT);
emscripten_webgl_commit_frame(); // emscripten_webgl_commit_frame();
_viewer = new FilamentViewer((void* const) emContext, loader, platform, uberArchivePath); _viewer = new FilamentViewer((void* const) emContext, loader, platform, uberArchivePath);
MAIN_THREAD_EM_ASM({ MAIN_THREAD_EM_ASM({