Fixed typo
This commit is contained in:
parent
a0630420d9
commit
86641a481e
2 changed files with 6 additions and 5 deletions
|
@ -35,7 +35,7 @@ std::pair<bool, std::string> GLShadersManager::init()
|
|||
|
||||
#if ENABLE_LEGACY_OPENGL_REMOVAL
|
||||
#if ENABLE_GL_SHADERS_ATTRIBUTES
|
||||
const std::string prefix = !GUI::wxGetApp().is_gl_version_greater_or_equal_to(3, 1) ? "140/" : "110/";
|
||||
const std::string prefix = GUI::wxGetApp().is_gl_version_greater_or_equal_to(3, 1) ? "140/" : "110/";
|
||||
// imgui shader
|
||||
valid &= append_shader("imgui", { prefix + "imgui.vs", prefix + "imgui.fs" });
|
||||
// basic shader, used to render all what was previously rendered using the immediate mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue