gl: Update tracked buffers from 2 to 4
authorBenjamin Otte <otte@redhat.com>
Wed, 24 May 2023 19:41:47 +0000 (21:41 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 24 May 2023 19:44:43 +0000 (21:44 +0200)
commit46e3454eb7730e49374ebdeacdf9078db335c1f9
tree70782bc4a040a20998435aa92b57158e74c1e914
parent7573a9d2a7da1a7a611b9e2419e68724a6af3aa0
gl: Update tracked buffers from 2 to 4

With XWayland and direct scanout it is possible that some apps get into
a situation where more than 2 buffers are in flight and in that case we
want to be able to still track the change regions for those buffers.

Usually 3 buffers are in use, so we go one higher, just to be safe.
gdk/gdkglcontextprivate.h