Fix using the NGL renderer on 32-bit Windows
Hi,
In the NGL renderer, we are calling g_clear_pointer()
using glDeleteSync()
, which does not use the standard calling convention on Windows, which leads to crashes on 32-bit Windows. Fix this by using a wrapper function that in turn calls glDeleteSync()
, so that we are assured the correct calling convention is being used for g_clear_pointer()
.
This should also be backported to the gtk-4-14
branch.
With blessings, thank you!