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:
parent
0f226823a2
commit
a210b75009
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue