summaryrefslogtreecommitdiff
path: root/libs/hwui/Fence.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/Fence.h')
-rw-r--r--libs/hwui/Fence.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Fence.h b/libs/hwui/Fence.h
index f175e98eea63..fc29f7ac1e5b 100644
--- a/libs/hwui/Fence.h
+++ b/libs/hwui/Fence.h
@@ -43,7 +43,7 @@ public:
Fence() {
mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
if (mDisplay != EGL_NO_DISPLAY) {
- mFence = eglCreateSyncKHR(mDisplay, EGL_SYNC_FENCE_KHR, NULL);
+ mFence = eglCreateSyncKHR(mDisplay, EGL_SYNC_FENCE_KHR, nullptr);
} else {
mFence = EGL_NO_SYNC_KHR;
}