I have problem, when running my SDL application in fullscreen
mode, without double-buffer, when i’m updating the screen (not the whole
screen, but few rectangles), it flickers. So is it possible to synchronize
SDL_UpdateRect(s) with vertical retrace?
I have problem, when running my SDL application in fullscreen
mode, without double-buffer, when i’m updating the screen (not the whole
screen, but few rectangles), it flickers. So is it possible to synchronize
SDL_UpdateRect(s) with vertical retrace?
No, although the best way to reduce flicker is to group your updates
so that they are all updated at once.
Well, i’m already using such techinque, i even update all rects at once,
but flicker remains, maybe almost invisible, but sometimes it becomes
visible.
So the only way to disable flicker is to run in double-buffered mode?
(btw. i’m running my application under Win98 with DX7)
KovacsOn Wed, 9 Feb 2000, Sam Lantinga wrote:
Hello,
I have problem, when running my SDL application in fullscreen
mode, without double-buffer, when i’m updating the screen (not the whole
screen, but few rectangles), it flickers. So is it possible to synchronize
SDL_UpdateRect(s) with vertical retrace?
No, although the best way to reduce flicker is to group your updates
so that they are all updated at once.
Well, i’m already using such techinque, i even update all rects at once,
but flicker remains, maybe almost invisible, but sometimes it becomes
visible.
So the only way to disable flicker is to run in double-buffered mode?