Useless return statements.
This commit is contained in:
parent
941a8e98dc
commit
c7b6b87005
@ -8,10 +8,10 @@
|
||||
|
||||
gui::Gui::Gui(gui::GuiData &data) : data(data), font("font/DejaVuSans.ttf") {
|
||||
SPDLOG_DEBUG("Creating GUI");
|
||||
ImGui::CreateContext();
|
||||
(void) ImGui::CreateContext();
|
||||
ImGui::StyleColorsDark();
|
||||
ImGui::GetIO().Fonts->AddFontFromFileTTF(font.c_str(), 18.0f);
|
||||
ImGui_ImplGlfw_InitForOpenGL(data.get_window().get_window().get(), true);
|
||||
(void) ImGui::GetIO().Fonts->AddFontFromFileTTF(font.c_str(), 18.0f);
|
||||
(void) ImGui_ImplGlfw_InitForOpenGL(data.get_window().get_window().get(), true);
|
||||
initialized = ImGui_ImplOpenGL3_Init();
|
||||
SPDLOG_DEBUG("Initialized: {}", initialized);
|
||||
}
|
||||
@ -41,7 +41,7 @@ void gui::Gui::render_gui() {
|
||||
}
|
||||
|
||||
// Never collapsed.
|
||||
ImGui::Begin("Billy", nullptr, flags);
|
||||
(void) ImGui::Begin("Billy", nullptr, flags);
|
||||
|
||||
ImGui::Text("Hello world!");
|
||||
ImGui::Text("Average framerate: %.3f ms/frame (%.1f FPS)", 1000.f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate);
|
||||
|
Loading…
Reference in New Issue
Block a user