mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-02-02 08:58:43 +03:00
Prusa 2.7.2
This commit is contained in:
@@ -50,15 +50,13 @@ public:
|
||||
const std::string& get_renderer() const;
|
||||
|
||||
bool is_core_profile() const { return m_core_profile; }
|
||||
void set_core_profile(bool value) { m_core_profile = value; }
|
||||
|
||||
bool is_mesa() const;
|
||||
bool is_es() const {
|
||||
return
|
||||
#if ENABLE_OPENGL_ES
|
||||
true;
|
||||
return true;
|
||||
#else
|
||||
false;
|
||||
return false;
|
||||
#endif // ENABLE_OPENGL_ES
|
||||
}
|
||||
|
||||
@@ -100,9 +98,7 @@ private:
|
||||
|
||||
bool m_gl_initialized{ false };
|
||||
wxGLContext* m_context{ nullptr };
|
||||
#if ENABLE_OPENGL_DEBUG_OPTION
|
||||
bool m_debug_enabled{ false };
|
||||
#endif // ENABLE_OPENGL_DEBUG_OPTION
|
||||
GLShadersManager m_shaders_manager;
|
||||
static GLInfo s_gl_info;
|
||||
#ifdef __APPLE__
|
||||
@@ -121,11 +117,7 @@ public:
|
||||
|
||||
bool init_gl();
|
||||
#if ENABLE_GL_CORE_PROFILE
|
||||
#if ENABLE_OPENGL_DEBUG_OPTION
|
||||
wxGLContext* init_glcontext(wxGLCanvas& canvas, const std::pair<int, int>& required_opengl_version, bool enable_debug);
|
||||
#else
|
||||
wxGLContext* init_glcontext(wxGLCanvas& canvas, const std::pair<int, int>& required_opengl_version);
|
||||
#endif // ENABLE_OPENGL_DEBUG_OPTION
|
||||
wxGLContext* init_glcontext(wxGLCanvas& canvas, const std::pair<int, int>& required_opengl_version, bool enable_compatibility_profile, bool enable_debug);
|
||||
#else
|
||||
wxGLContext* init_glcontext(wxGLCanvas& canvas);
|
||||
#endif // ENABLE_GL_CORE_PROFILE
|
||||
|
||||
Reference in New Issue
Block a user