We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 564 - Screen flickers on resize (X11 video)
Summary: Screen flickers on resize (X11 video)
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 1.2.13
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 14:01 UTC by Daniel Thaler
Modified: 2008-02-29 23:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Thaler 2008-02-29 14:01:40 UTC
calling SDL_SetVideoMode in response to an SDL_VIDEORESIZE event causes flicker, because this call not only sets the new mode but also refreshes the screen with a black surface.
When the user the drags the edge of the window, the repeated switch between the game's graphics and the black surface appear as flicker.
Comment 1 Sam Lantinga 2008-02-29 14:11:16 UTC
I believe this was fixed today in subversion.  Thanks!
Comment 2 Daniel Thaler 2008-02-29 14:57:32 UTC
on which branch? 1.2 or trunk/1.3?
Comment 3 Sam Lantinga 2008-02-29 23:16:45 UTC
SDL 1.2
http://www.libsdl.org/cgi/viewvc.cgi?view=rev&revision=3561