[SDL] Inverted y-coords in OS-X
zakalawe at mac.com
Mon Dec 1 23:53:01 PST 2003
The subject kind says it all : SDL is feeding me y coordinates which
increase from zero at the bottom of the screen, when running in a
window on OS-X. I know Cocoa is 'inverted' compared to Quickdraw / GDI
/ X11, but I'd assumed this is the sort of thing SDL would abstract
I have verified the program behaves fine on Linux, and also that it's
the actual numbers from the SDL events that are flipped
I searched for similar issues and found one message to this list by
Brian Hook, describing what sounds like the same problem : but that was
the middle of last year. I know lots of people are using SDL on OS-X,
so why is it only me seeing this problem?
OS-X is Panther 10.3.1
SDL is 1.2.6, compiled as a framework
Hoping for enlightenment....
PS - I have another odd OS-X issue no matter what I do, SDL won't send
me SDL_VIDEORESIZE events (and the window Surface is indeed being
created resizable). I can cheerfully resize the window using the mouse,
but the SDL app never gets told about it. Again all is fine on Linux.
There is no such thing as a humble opinion.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 1112 bytes
Desc: not available
More information about the SDL