GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw extrude and travel paths

This commit is contained in:
enricoturri1966 2020-04-28 15:08:36 +02:00
parent d265c84b76
commit 3267d3368f
3 changed files with 157 additions and 7 deletions

View file

@ -59,6 +59,7 @@
// Enable G-Code viewer
#define ENABLE_GCODE_VIEWER (1 && ENABLE_2_3_0_ALPHA1)
#define ENABLE_GCODE_VIEWER_DEBUG_OUTPUT (0 && ENABLE_GCODE_VIEWER)
#define ENABLE_GCODE_VIEWER_GL_OPTIMIZATION (1 && ENABLE_GCODE_VIEWER)
#define ENABLE_GCODE_VIEWER_STATISTICS (0 && ENABLE_GCODE_VIEWER)