![]() |
Enabling and disabling vSync after renderer creation | ![]() |
![]() |
![]() |
Treble
![]() |
![]() |
By the looks of it, no, it doesn't seem like this is possible.
|
||||||||||
|
![]() |
![]() |
Xriuk
![]() |
![]() |
I'm really disappointed by this. It's not possible to edit vsync after renderer creation and it's not possible to destroy and re-create the renderer since this would destroy every texture created...
|
||||||||||
|
![]() |
![]() |
MrTAToad
![]() |
![]() |
Have you tried the SDL_HINT_RENDER_VSYNC hint ? By the looks of it, it overwrites the CreateRender option, and thus should work fine after the function is used.
|
||||||||||
|
![]() |
![]() |
Xriuk
![]() |
![]() |
Yes I tried that, not working. Plus the wiki clearly states that it overwrites the CreateRender option only inside the function itself. |
||||||||||||
|
![]() |
![]() |
SDLer
![]() |
![]() |
I just needed to do this myself, and I was very surprised and just like Xriuk disappointed this was not possible.
Is there anyway to suggest it as a change for a future SDL versions ? |
||||||||||
|