From 4bf479aca2389aed67e6d95a5e05e5d5ec404d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 11 May 2015 16:25:00 +0200 Subject: [PATCH] [libkwineffects] GL_NONE instead of None in GLTexture It's about GL not about Xlib, so use GL_NONE instead of None. Additional bonus: it compiles if the file does not include Xlib. --- libkwineffects/kwingltexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkwineffects/kwingltexture.cpp b/libkwineffects/kwingltexture.cpp index a27719332a..5f84dd6186 100644 --- a/libkwineffects/kwingltexture.cpp +++ b/libkwineffects/kwingltexture.cpp @@ -318,7 +318,7 @@ void GLTexturePrivate::cleanup() bool GLTexture::isNull() const { Q_D(const GLTexture); - return None == d->m_texture; + return GL_NONE == d->m_texture; } QSize GLTexture::size() const