From: Dennis S. <sy...@yo...> - 2004-07-01 17:29:24
|
I was thinking some more about this.. I think it's wise to change the void *screenbuffer in VisVideo to some union that is goom it's Pixel thingy: typedef union _PIXEL { struct { unsigned char b; unsigned char g; unsigned char r; unsigned char a; } channels; unsigned int val; unsigned char cop[4]; } Pixel; Not entirely the same, also adding support for all the depths very well. I think it would be good to do this at the same time as the VisColor change, don't you agree ? On Thu, 2004-07-01 at 13:18 -0300, Duilio Javier Protti wrote: > I suggest to change the _VisPalette structure from: > ...... |