FIX: modify the shader load error for mac

Change-Id: I3e2b282b145b4d87e09c22d4fec1b88537212d60
This commit is contained in:
zhimin.zeng authored and Lane.Wei committed 2023-04-17 15:39:02 +08:00
1 parent 9558ed242c
commit b746877d70
5 files changed
+13 -71

No files matched your search

-3
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) {