mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-20 01:40:14 -05:00
shm: fix compilation when FORCED_DOUBLE_BUFFERING is enabled
This commit is contained in:
parent
e2aeb7f336
commit
046d959657
1 changed files with 2 additions and 2 deletions
4
shm.c
4
shm.c
|
|
@ -577,8 +577,8 @@ shm_get_buffer(struct buffer_chain *chain, int width, int height, bool with_alph
|
|||
buf->public.age++;
|
||||
else
|
||||
#if FORCED_DOUBLE_BUFFERING
|
||||
if (buf->age == 0)
|
||||
buf->age++;
|
||||
if (buf->public.age == 0)
|
||||
buf->public.age++;
|
||||
else
|
||||
#endif
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue