diff --git a/filament/backend/src/opengl/platforms/PlatformEGLAndroid.cpp b/filament/backend/src/opengl/platforms/PlatformEGLAndroid.cpp index eda3411c73..9db853372e 100644 --- a/filament/backend/src/opengl/platforms/PlatformEGLAndroid.cpp +++ b/filament/backend/src/opengl/platforms/PlatformEGLAndroid.cpp @@ -230,9 +230,9 @@ Driver* PlatformEGLAndroid::createDriver(void* sharedContext, "eglGetNativeClientBufferANDROID")); if (ext.egl.ANDROID_presentation_time) { - eglGetNativeClientBufferANDROID = - PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC(eglGetProcAddress( - "eglGetNativeClientBufferANDROID")); + eglPresentationTimeANDROID = + PFNEGLPRESENTATIONTIMEANDROIDPROC(eglGetProcAddress( + "eglPresentationTimeANDROID")); } if (ext.egl.ANDROID_get_frame_timestamps) {