[SDL] Please help confirm SDL_Flip V. retrace behaviour under different DirectX versions

Andy Sy andy at mindgate.net
Sun Mar 11 03:17:23 PST 2001


Can others out there confirm my findings mentioned
in the earlier post "SDL_Flip does not wait for V.
retrace under DirectX 8"?

Run 'testsprite -hw -flip [numsprites]' in the tests
directory. You should set numsprite to a small number
(i.e. 10 or less) so blit speed will exceed the
monitor refresh rate and replace the default image.bmp
with a bigger .bmp so tearing will be more visible.

If you see any tearing (i.e. the bitmap is not being drawn
smoothly) and the frame rate listed in stdout.txt is
higher than your video mode refresh rate, then v.retrace
is being ignored by SDL_Flip().


Please mention your

lib-SDL version used: I'm using 1.1.8 compiled with minGW
OS: Windows 9x, Me or Win2K Pro (SP version too if applicable)
Vidcard: Voodoo 3 2000 AGP or other
DirectX version: DirectX 7, DirectX 8, end-user or SDK
(note: WinMe and Win2K Pro are DX 7 by default)









More information about the SDL mailing list