Use glsl with GL >= 3.1
This commit is contained in:
parent
abeda85f77
commit
e2da98bcfb
@ -496,7 +496,7 @@ void IrrDriver::initDevice()
|
|||||||
m_need_srgb_workaround = true;
|
m_need_srgb_workaround = true;
|
||||||
}
|
}
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
m_glsl = (m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 3));
|
m_glsl = (m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 1));
|
||||||
#else
|
#else
|
||||||
m_glsl = (m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 1));
|
m_glsl = (m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 1));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user