| Summary: | windows palette setting | ||
|---|---|---|---|
| Product: | SDL | Reporter: | smeeze |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | don't know | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
|
Description
smeeze
2009-07-20 20:44:24 UTC
At this point I recommend not using the hardware palette on Windows. Almost all displays support thousands of colors and there are lots of quirks with Windows' palette handling. i want you to disable it so that it just maps to the hardware palette instead of setting it i am no good with the SDL source code so i cannot do it if you could guide me to where the palette setting happens i could fix it and create a patch Oh, just don't use SDL_HWPALETTE in SDL_SetVideoMode(), that should take care of it, I think. If you're not using that, I think you can call SDL_SetPalette(screen, SDL_LOGPAL, colors, 0, 256) instead of SDL_SetColors() so i should inform the dosbox team? what it is, is when i am exparementing in 256c mode when a program in dosbox decides to palette animate windows freezes and i have to restart Yes, although you can refer them to this bug and I'll be happy to discuss it with them and potentially debug it in more detail. i talked to the dosbox team about it and they thru a fit:http://vogons.zetafleet.com/viewtopic.php?p=171344 The basic point of their thread is that you should keep the desktop at 16-bit and you'll be fine. (In reply to comment #7) > The basic point of their thread is that you should keep the desktop at 16-bit > and you'll be fine. i still think they are more agressive then they need to be i thought FREE OPEN SOURCE SOFTWARE was about freedom meaning i can put it in any bit depth and i have a right to discuss any problems i guess i will have to try to make a custom SDL build that does not effect the hardware palette Changing to WONTFIX (as LATER means something different). --ryan. |