16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00

Merge pull request #109 from docentYT/fix-compilation-warnings

Fix compilation warnings
This commit is contained in:
2026-06-16 11:14:25 +02:00
committed by GitHub
23 changed files with 53 additions and 51 deletions

View File

@@ -706,7 +706,7 @@ void opengl33_renderer::draw_debug_ui()
ImGui::SetNextWindowSize(ImVec2S(400, 400));
if (ImGui::Begin("Pickbuffer") && m_pick_tex) {
ImGui::Image(reinterpret_cast<void *>(m_pick_tex->id), ImGui::GetContentRegionAvail(), ImVec2(0, 1.0), ImVec2(1.0, 0));
ImGui::Image((ImTextureID)(intptr_t)(m_pick_tex->id), ImGui::GetContentRegionAvail(), ImVec2(0, 1.0), ImVec2(1.0, 0));
}
ImGui::End();