From e2da98bcfb58d78dc8f37c04d802e881e7468c4a Mon Sep 17 00:00:00 2001 From: vlj Date: Mon, 29 Sep 2014 01:44:24 +0200 Subject: [PATCH] Use glsl with GL >= 3.1 --- src/graphics/irr_driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index c858e0645..c866d9a7e 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -496,7 +496,7 @@ void IrrDriver::initDevice() m_need_srgb_workaround = true; } #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 m_glsl = (m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 1)); #endif