FIX: modify the shader load error for mac

Change-Id: I3e2b282b145b4d87e09c22d4fec1b88537212d60
This commit is contained in:
zhimin.zeng 2023-03-24 10:50:11 +08:00 committed by Lane.Wei
parent 9558ed242c
commit b746877d70
5 changed files with 13 additions and 71 deletions

View file

@ -45,9 +45,6 @@ std::pair<bool, std::string> GLShadersManager::init()
// used to render extrusion and travel paths as lines in gcode preview
valid &= append_shader("toolpaths_lines", { "toolpaths_lines.vs", "toolpaths_lines.fs" });
// used to render cut connectors
valid &= append_shader("gouraud_light_uniform", {"gouraud_light_uniform.vs", "gouraud_light_uniform.fs"});
// used to render objects in 3d editor
//if (GUI::wxGetApp().is_gl_version_greater_or_equal_to(3, 0)) {
if (0) {