remove debug print statements

This commit is contained in:
2025-04-03 15:44:54 -05:00
parent 7cce8f6d8e
commit 0d944992fb
7 changed files with 1 additions and 20 deletions

View File

@@ -23,8 +23,6 @@ void WindowModule::onLoad() {
data["window"] = window->getWindowImpl().getWindow();
data["renderCmdList"] = &renderer->getCmdList();
std::cout << "WindowModule GLFWwindow*: " << std::any_cast<decltype(window->getWindowImpl().getWindow())>(data["window"]) << std::endl;
}
void WindowModule::run() {

View File

@@ -43,22 +43,15 @@ void TestImgui::onLoad() {
ImGui::StyleColorsDark();
//ImGui::StyleColorsLight();
std::cout << "init backends\n";
// Setup Platform/Renderer backends
std::cout << wm->getName() << std::endl;
GLFWwindow* w = std::any_cast<GLFWwindow*>(wm->getData("window"));
std::cout << "TestImgui GLFWwindow*: " << w << std::endl;
if(!ImGui_ImplGlfw_InitForOpenGL(w, true))
std::cout << "GLFWImpl failed\n";
if(!ImGui_ImplOpenGL3_Init("#version 330")) {
std::cout << "ImGui_ImplOpenGL3_Init failed!\n" << std::endl;
}
std::cout << "register renderCmd\n";
std::list<Archimedes::Renderer::renderCmd*>* cmdList =
std::any_cast<std::list<Archimedes::Renderer::renderCmd*>*>(wm->getData("renderCmdList"));