Initialize variables in GLPlatform

m_textureNPOT and m_limitedNPOT have not been initialized in the ctor resulting in
m_limitedNPOT being incorrectly being true sometimes for Intel drivers. For other
drivers the value had been set.
This commit is contained in:
Martin Gräßlin 2012-06-13 01:03:41 +02:00
parent 0f226823a2
commit a210b75009

View file

@ -488,7 +488,9 @@ GLPlatform::GLPlatform()
m_looseBinding(false),
m_directRendering(false),
m_supportsGLSL(false),
m_limitedGLSL(false)
m_limitedGLSL(false),
m_textureNPOT(false),
m_limitedNPOT(false)
{
}