[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.
This commit is contained in:
Martin Gräßlin 2015-05-11 16:25:00 +02:00
parent d6700ff9f9
commit 4bf479aca2

View file

@ -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