[Sdl4fp-users] SDL_ColorArray
Brought to you by:
trixx
From: Andreas K. F. <li...@AK...> - 2006-05-14 18:15:31
|
Hello, I just had to use the function SDL_SetColors. The second parameter is of the type SDL_ColorArray. That is defined as SDL_ColorArray = Array[0..0] of SDL_Color An array with just one possible element? Does that make sense? I tried to make my own Array and then typecast it to SDL_ColorArray, but that doesn't work. Now I set the colors one by one. But I think the type SDL_Color would have done the same job. Isn't SDL_ColorArray internally the same as SDL_Color? I think the type PSDL_Color would fit there much better. -- AKFoerster |