Color distortion with SDL 1.2.14 and/or OS X 10.6.1 |
Dominus
|
I'm using MacPorts on Mac OS X 10.6.1 and have noticed color distortions in both Pentagram and DOSBox.
Unfortunately MacPorts is providing a SVN snapshot from about a fortnight ago and current SVN doesn't build again on OS X, so I can't test with the bleeding edge. The bug report for Pentagram is at https://sourceforge.net/tracker/?func=detail&aid=2862732&group_id=53819&atid=471706 (the background should be with normal colors) The bug report for DOSBox http://vogons.zetafleet.com/viewtopic.php?t=23087 It seems that in both cases there is a problem with the color blue being eliminated somehow. If that is of interest, the SVN SDL building error is gcc -I/opt/local/include -I/opt/local/include -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/main/macosx/SDLMain.m -o build/SDLMain.o ./src/main/macosx/SDLMain.m: In function ‘CustomApplicationMain’: ./src/main/macosx/SDLMain.m:204: error: ‘SDLApplication’ undeclared (first use in this function) ./src/main/macosx/SDLMain.m:204: error: (Each undeclared identifier is reported only once ./src/main/macosx/SDLMain.m:204: error: for each function it appears in.) make: *** [build/SDLMain.o] Error |
|||||||||||
|
Color distortion with SDL 1.2.14 and/or OS X 10.6.1 |
Sam Lantinga
|
Building SDL should be fixed now.
Do you have any simple steps for reproducing the color issue? I haven't seen it with any of the test programs. Is it fullscreen only? See ya! --Sam On Wed, Oct 14, 2009 at 3:33 AM, Dominus wrote:
-- -Sam Lantinga, Founder and President, Galaxy Gameworks LLC _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
Color distortion with SDL 1.2.14 and/or OS X 10.6.1 |
Sam Lantinga
|
Are the color issues fullscreen or windowed, or both?
On Wed, Oct 14, 2009 at 10:21 PM, Sam Lantinga wrote:
-- -Sam Lantinga, Founder and President, Galaxy Gameworks LLC _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
Dominus
|
The problem is there in both windowed and fullscreen. See http://vogons.zetafleet.com/viewtopic.php?p=172300#172300 for the fullscreen screenshot which has a different color problem again... :(
Unfortunately no simple way to test. In Dosbox you'd need to install Windows 3.1x and then change the Windows 3.1x graphics driver to over 256 colors. For Pentagram (http://pentagram.sf.net)you'd need a copy of Ultima 8 to test it. Once you have it running you can start a game and then when you are in control of the avatar, press ESC... I'll test the SVN of SDL tomorrow and will report back whether the problem persists... |
|||||||||||
|
Color distortion with SDL 1.2.14 and/or OS X 10.6.1 |
Sam Lantinga
|
So I did extensive testing on this on Mac OS X 10.4, 10.5, and 10.6 on
both Intel and PPC, both ATI and NVidia cards, and everything checked out. Now, with the latest release on Mac OS X the red and blue channels have been swapped, but the screen pixel format reflects this, and you shouldn't run into any problems unless your application is making an assumption about the order of the RGB channels. See ya! On Wed, Oct 14, 2009 at 10:24 PM, Sam Lantinga wrote:
-- -Sam Lantinga, Founder and President, Galaxy Gameworks LLC _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||
|
Color distortion with SDL 1.2.14 and/or OS X 10.6.1 |
Kieran P
Guest
|
In windowed mode. When I run full screen on the recently updated sdl pre release, it works fine. However, most people I know who play the game http://globulation2.org do so in windowed mode. Can you please try Globulation 2 on the mac..... Regards Kieran On Thu, Oct 15, 2009 at 6:24 PM, Sam Lantinga wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||||
|