mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-18 16:05:54 +08:00
#3008 - Reduced max size of bed texture
This commit is contained in:
parent
a6a7303e25
commit
a65b8f462d
@ -108,6 +108,8 @@ void GLCanvas3DManager::GLInfo::detect() const
|
|||||||
|
|
||||||
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));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user