[SDL] Inverted y-coords in OS-X
James Turner
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
out?
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....
James
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
Type: text/enriched
Size: 1112 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20031201/33d8a961/attachment.bin>
More information about the SDL
mailing list