summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-06-16 11:16:21 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-06-16 11:16:21 +0100
commit38510fa00ff2b192d7c2f9c8311ad6939faa8256 (patch)
tree5eef1ae4b8c38ab696db1e9516e4f4fee2707e89 /ui
parentMove main application loop into the library (diff)
downloadilt-38510fa00ff2b192d7c2f9c8311ad6939faa8256.tar.bz2
ilt-38510fa00ff2b192d7c2f9c8311ad6939faa8256.tar.xz
ilt-38510fa00ff2b192d7c2f9c8311ad6939faa8256.zip
Remove initialisation order debug
Diffstat (limited to 'ui')
-rw-r--r--ui/applicationBase.cpp1
-rw-r--r--ui/mainWindow.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/ui/applicationBase.cpp b/ui/applicationBase.cpp
index c3134b4..3fa6e2b 100644
--- a/ui/applicationBase.cpp
+++ b/ui/applicationBase.cpp
@@ -35,7 +35,6 @@ ApplicationBase::initSDL() const
void
ApplicationBase::initImGUI() const
{
- puts(__PRETTY_FUNCTION__);
// Setup Dear ImGui context
IMGUI_CHECKVERSION();
ImGui::CreateContext();
diff --git a/ui/mainWindow.cpp b/ui/mainWindow.cpp
index 830dba5..38d6a6e 100644
--- a/ui/mainWindow.cpp
+++ b/ui/mainWindow.cpp
@@ -12,7 +12,6 @@ MainWindow::MainWindow(size_t w, size_t h) : MainWindow {w, h, "I Like Trains",
MainWindow::MainWindow(size_t w, size_t h, const std::string & title, Uint32 flags) : Window {w, h, title, flags}
{
- puts(__PRETTY_FUNCTION__);
if (const auto version = gladLoadGL(reinterpret_cast<GLADloadfunc>(SDL_GL_GetProcAddress)); version < 30003) {
throw std::runtime_error {std::format("Insufficient OpenGL version: {}", version)};
}