> for <=8 bit there is no problem
> for other color depths that is one of the big
> problems about amigaos and should be fixed
I suppose that depends on what you want to do. In my case, I rely entirely on the OpenGL implementation to handle the actual "pixeling" (I don't care if it uses P96, CGFX, direct hardware, or whatever). Basically, all I need to do is to find a good ModeID (based on color depth etc) and enumerate ModeIDs. Under my WinUAE/P96 configuration this works just fine (I can get 24-bit "fullscreen" for instance).
I did have to do a trick to check if I have a proper "true color" ModeID, though: I check if redbits+bluebits+greenbits <= depth (this should be more or less idiot proof).