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 3293 - Top Part of Window Blank
Summary: Top Part of Window Blank
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.4
Hardware: x86_64 Mac OS X (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-15 19:48 UTC by theeastonator
Modified: 2016-03-18 16:58 UTC (History)
1 user (show)

See Also:


Attachments
Example (884.99 KB, image/png)
2016-03-15 19:48 UTC, theeastonator
Details

Note You need to log in before you can comment on or make changes to this bug.
Description theeastonator 2016-03-15 19:48:04 UTC
Created attachment 2396 [details]
Example

On Mac OS X 11.3, the top bar of any SDL window appears blank, rather than the top bar present on other windows.
Comment 1 theeastonator 2016-03-15 19:50:17 UTC
The code in this zip: http://lazyfoo.net/tutorials/SDL/01_hello_SDL/01_hello_SDL.zip reproduces the problem when the first line is changed to #include <SDL2/SDL.h>.
Comment 2 Alex Szpakowski 2016-03-18 16:58:57 UTC
You need to call SDL_PollEvent or SDL_PumpEvents regularly (typically multiple times every frame) for the window to respond and look as expected. The LazyFoo tutorial's code is at fault there.