Browse Source

egldisplay: Fix bad use of X11 None symbol instead of nullptr

rdb 5 years ago
parent
commit
4b7e32e9b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/egldisplay/eglGraphicsBuffer.cxx

+ 1 - 1
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;