| Summary: | DisplayMode calls broken on Mac | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Mike Kasprzak <mike> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Mac OS X 10.6 | ||
It sounds like mismatched data structures. Things work fine here. Have you tried doing a clean build after installing the new Framework? Are you sure you're using matching headers and libraries? Oops! Yes it was mismatched headers that was the problem. I was doing something silly whilst trying to get SDL 1.2 and 1.3 working (letting me pick A or B). It was working fine with HG build from a couple weeks ago, so I hadn't noticed the problem until now. Great, I'm glad you figured it out. :) |
SDL_GetDesktopDisplayMode and SDL_GetCurrentDisplayMode no longer work correctly on Mac. Making a call as follows: { SDL_DisplayMode DisplayMode; SDL_GetDesktopDisplayMode( &DisplayMode ); // ... // } The DisplayMode structure will be filled with incorrect data (in my test case, 32767 x -2116798271 at 32767 Hz).