mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-12 08:21:02 -04: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++;
|
buf->public.age++;
|
||||||
else
|
else
|
||||||
#if FORCED_DOUBLE_BUFFERING
|
#if FORCED_DOUBLE_BUFFERING
|
||||||
if (buf->age == 0)
|
if (buf->public.age == 0)
|
||||||
buf->age++;
|
buf->public.age++;
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue