diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 17:05:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 18:45:15 +0100 |
commit | 59a5ccb952a54f80d1de7fdbc9a52e692e3faaab (patch) | |
tree | 994a754f843394edeb566269e87d6cbd758aec80 /slideshow | |
parent | 03725013b64e74473e1a9e925b24927e7e61d412 (diff) |
bool improvements
Change-Id: I89e8351001dcdda9303473f38ece3b57c0d9e72c
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 49ebe0be1891..33b39fbaef55 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -447,7 +447,7 @@ bool OGLTransitionerImpl::createWindow( Window* pPWindow ) #elif defined( UNX ) GLWin.dpy = reinterpret_cast<unx::Display*>(sysData->pDisplay); - if( unx::glXQueryExtension( GLWin.dpy, NULL, NULL ) == false ) + if( !unx::glXQueryExtension( GLWin.dpy, NULL, NULL ) ) return false; GLWin.win = sysData->aWindow; |