mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-05 12:15:46 +00:00
[client] egl: fix egl_bufferAge naming
This commit is contained in:
parent
ee211803e4
commit
2d858da0f1
1 changed files with 2 additions and 2 deletions
|
@ -882,7 +882,7 @@ static bool egl_needsRender(LG_Renderer * renderer)
|
||||||
return !this->waitDone;
|
return !this->waitDone;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline static EGLint egl_buffer_age(struct Inst * this)
|
inline static EGLint egl_bufferAge(struct Inst * this)
|
||||||
{
|
{
|
||||||
if (!this->hasBufferAge)
|
if (!this->hasBufferAge)
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -931,7 +931,7 @@ static bool egl_render(LG_Renderer * renderer, LG_RendererRotate rotate,
|
||||||
void (*preSwap)(void * udata), void * udata)
|
void (*preSwap)(void * udata), void * udata)
|
||||||
{
|
{
|
||||||
struct Inst * this = UPCAST(struct Inst, renderer);
|
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 ||
|
bool renderAll = invalidateWindow || !this->start || this->hadOverlay ||
|
||||||
bufferAge <= 0 || bufferAge > MAX_BUFFER_AGE;
|
bufferAge <= 0 || bufferAge > MAX_BUFFER_AGE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue