From 2d858da0f10fc1926a8483b82e7fbd0627d02b33 Mon Sep 17 00:00:00 2001 From: Quantum Date: Thu, 14 Oct 2021 23:51:56 -0400 Subject: [PATCH] [client] egl: fix egl_bufferAge naming --- client/renderers/EGL/egl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/renderers/EGL/egl.c b/client/renderers/EGL/egl.c index 8593a90d..bf14b6d9 100644 --- a/client/renderers/EGL/egl.c +++ b/client/renderers/EGL/egl.c @@ -882,7 +882,7 @@ static bool egl_needsRender(LG_Renderer * renderer) return !this->waitDone; } -inline static EGLint egl_buffer_age(struct Inst * this) +inline static EGLint egl_bufferAge(struct Inst * this) { if (!this->hasBufferAge) return 0; @@ -931,7 +931,7 @@ static bool egl_render(LG_Renderer * renderer, LG_RendererRotate rotate, void (*preSwap)(void * udata), void * udata) { struct Inst * this = UPCAST(struct Inst, renderer); - EGLint bufferAge = egl_buffer_age(this); + EGLint bufferAge = egl_bufferAge(this); bool renderAll = invalidateWindow || !this->start || this->hadOverlay || bufferAge <= 0 || bufferAge > MAX_BUFFER_AGE;