Fix warning about using 0 as nullptr
This commit is contained in:
parent
3a9d7a6e9d
commit
b54c57505d
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ GLuint SharingPlatformContext::defaultFramebufferObject(QPlatformSurface *surfac
|
|||
|
||||
void SharingPlatformContext::create()
|
||||
{
|
||||
if (config() == 0) {
|
||||
if (!config()) {
|
||||
qCWarning(KWIN_QPA) << "Did not get an EGL config";
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue