Tech ENABLE_OPENGL_DEBUG_OPTION - Add new command line option '--opengl-debug' to allow users to force PrusaSlicer to output to console OpenGL related errors on graphics cards supporting it.

This commit is contained in:
enricoturri1966 2022-06-30 09:49:29 +02:00
parent bcbde32678
commit 38683ee221
7 changed files with 118 additions and 3 deletions

View file

@ -23,6 +23,9 @@ struct GUI_InitParams
bool start_as_gcodeviewer;
#if ENABLE_GL_CORE_PROFILE
std::pair<int, int> opengl_version;
#if ENABLE_OPENGL_DEBUG_OPTION
bool opengl_debug;
#endif // ENABLE_OPENGL_DEBUG_OPTION
#endif // ENABLE_GL_CORE_PROFILE
};