From a210b75009a07b1fdf9af798672978a210e3951b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 13 Jun 2012 01:03:41 +0200 Subject: [PATCH] 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. --- libkwineffects/kwinglplatform.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libkwineffects/kwinglplatform.cpp b/libkwineffects/kwinglplatform.cpp index b4503b9f18..26341e4d8b 100644 --- a/libkwineffects/kwinglplatform.cpp +++ b/libkwineffects/kwinglplatform.cpp @@ -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) { }