MODE_WAITVSYNC flag in set_mode does not work

Issue #75 new
Pablo Antonio Navarro Reyes created an issue

Just that: MODE_WAITVSYNC flag in set_mode does not work.

I was able to force it by changing the variable directly in g_video.c and it worked perfectly, but it should not be necessary.

Comments (2)

  1. Joseba Echevarria García repo owner

    As far as I can tell from the code, this should work at least the first time you initialize the renderer. The problem is that when starting PixTudio, a default renderer is created for you and is probably just resized after subsequent calls to set_mode() (but the WAIT_VSYNC flag not honoured).

    I'll have a look to try to see what I can do about it.

  2. Log in to comment