[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:
parent
d6700ff9f9
commit
4bf479aca2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue