On Fri Jan 3 18:26:30 2025 +0000, Elizabeth Figura wrote:
I'm still trying to understand what this code does, but the commit title doesn't seem to match the content. Also, why call glFinish() from inside present_gl_drawable(), instead of from the caller?
Maybe I should split that in two, one for ensuring XFlush( gdi_display) for both wglFinish and wglFlush, and another for forcing glFinish when offscreen blit is used in glFlush?
glFinish() should only be called from wglFlush() if we need to blit from offscreen drawable, and all the logic which detects / processes that is now inside present_gl_drawable().