mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
#3008 - Reduced max size of bed texture
This commit is contained in:
@@ -107,7 +107,9 @@ void GLCanvas3DManager::GLInfo::detect() const
|
|||||||
m_renderer = data;
|
m_renderer = data;
|
||||||
|
|
||||||
glsafe(::glGetIntegerv(GL_MAX_TEXTURE_SIZE, &m_max_tex_size));
|
glsafe(::glGetIntegerv(GL_MAX_TEXTURE_SIZE, &m_max_tex_size));
|
||||||
|
|
||||||
|
m_max_tex_size /= 2;
|
||||||
|
|
||||||
if (GLEW_EXT_texture_filter_anisotropic)
|
if (GLEW_EXT_texture_filter_anisotropic)
|
||||||
glsafe(::glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &m_max_anisotropy));
|
glsafe(::glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &m_max_anisotropy));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user