summaryrefslogtreecommitdiff
path: root/libs/gui/SyncFeatures.cpp
diff options
context:
space:
mode:
author Yi Kong <yikong@google.com> 2018-06-07 23:46:04 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-06-07 23:46:04 +0000
commita160f5a70ffba3715c8a92f4f469922d59635356 (patch)
tree627f17cbd47a952696913884b21d100cc15c855b /libs/gui/SyncFeatures.cpp
parent978e43d7a14f75a0d2d32517d906e173de48110b (diff)
parent9c804c47fc86a45ac517e9c91d3c986cb9d315dd (diff)
Merge "Replace NULL/0 with nullptr"
Diffstat (limited to 'libs/gui/SyncFeatures.cpp')
-rw-r--r--libs/gui/SyncFeatures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/SyncFeatures.cpp b/libs/gui/SyncFeatures.cpp
index afa15c5cda..fcae05c8ad 100644
--- a/libs/gui/SyncFeatures.cpp
+++ b/libs/gui/SyncFeatures.cpp
@@ -41,7 +41,7 @@ SyncFeatures::SyncFeatures() : Singleton<SyncFeatures>(),
// This can only be called after EGL has been initialized; otherwise the
// check below will abort.
const char* exts = eglQueryStringImplementationANDROID(dpy, EGL_EXTENSIONS);
- LOG_ALWAYS_FATAL_IF(exts == NULL, "eglQueryStringImplementationANDROID failed");
+ LOG_ALWAYS_FATAL_IF(exts == nullptr, "eglQueryStringImplementationANDROID failed");
if (strstr(exts, "EGL_ANDROID_native_fence_sync")) {
// This makes GLConsumer use the EGL_ANDROID_native_fence_sync
// extension to create Android native fences to signal when all