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

reformat: set variables to constexpr where possible

This commit is contained in:
jerrrrycho
2026-07-04 06:16:13 +02:00
parent aeb800283c
commit 6fd1d6715b
64 changed files with 541 additions and 541 deletions

View File

@@ -218,7 +218,7 @@ void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data)
const GLboolean last_enable_cull_face = glIsEnabled(GL_CULL_FACE);
const GLboolean last_enable_depth_test = glIsEnabled(GL_DEPTH_TEST);
const GLboolean last_enable_scissor_test = glIsEnabled(GL_SCISSOR_TEST);
const bool clip_origin_lower_left = true;
constexpr bool clip_origin_lower_left = true;
// Setup desired GL state
// Recreate the VAO every time (this is to easily allow multiple GL contexts to be rendered to. VAO are not shared among GL contexts)