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 863 - TestGL demo doesn't render unless moved
Summary: TestGL demo doesn't render unless moved
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 1.2.14
Hardware: All Mac OS X 10.6
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 10:17 UTC by C.W. Betts
Modified: 2011-08-21 07:17 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description C.W. Betts 2009-10-20 10:17:20 UTC
There seems to be a bug in the Quartz GL renderer, where it doesn't start rendering unless the window has been moved first.  This is present in all the target architectures of Mac OS X.
Comment 1 Ryan C. Gordon 2009-10-21 12:23:25 UTC
Removing keyword (we already shipped 1.2.14).

--ryan.
Comment 2 Sam Lantinga 2009-10-21 21:55:06 UTC
Hmm, it works for me...
Comment 3 Dan Glastonbury 2009-11-27 13:45:19 UTC
(In reply to comment #2)
> Hmm, it works for me...

I'm also experiencing the same problem on Snow Leopard in windowed mode.

If I cover the window, then the part that covered is displayed. It almost as if the NSView rectangle hasn't been invalidated and moving or covering the window causes the view to update.
Comment 4 Dan Glastonbury 2009-11-27 14:00:31 UTC
(In reply to comment #3)

To test my hypothesis, I updated my test app to perform SDL_UpdateRect() after the call to SDL_SetVideoMode().  I now get 1 frame of white window before the OpenGL rendering appears.
Comment 5 Ryan C. Gordon 2011-08-21 07:17:54 UTC
I can't reproduce this either. Maybe we fixed it? A lot of the video code changed for Snow Leopard support (and again for Lion).

Resolving this bug as WORKSFORME. If it's still busted for you, let us know and we'll keep talking about it.

--ryan.