From 4b7e32e9b0bb5a89ba2a0057f10b3e9314e69826 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 16 Sep 2020 23:39:13 +0200 Subject: [PATCH] egldisplay: Fix bad use of X11 None symbol instead of nullptr --- panda/src/egldisplay/eglGraphicsBuffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/egldisplay/eglGraphicsBuffer.cxx b/panda/src/egldisplay/eglGraphicsBuffer.cxx index a0cf71f1fa..7319f25430 100644 --- a/panda/src/egldisplay/eglGraphicsBuffer.cxx +++ b/panda/src/egldisplay/eglGraphicsBuffer.cxx @@ -172,7 +172,7 @@ open_buffer() { } } - if (eglgsg->_fbconfig == None) { + if (eglgsg->_fbconfig == nullptr) { // If we didn't use an fbconfig to create the GSG, we can't create a // PBuffer. return false;