On Tuesday 16 November 2010 15:11:41 Henri Verbeet wrote:
This patch is wrong. Color key processing happens mostly in d3dfmt_convert_surface(), you should try to figure out why it isn't happening for this application. Some more general points are that perform_color_key() would need to be static, casting void pointer is redundant, the color key is a range, not a single value, and try to use consistent formatting.
Thanks for reply. I will try to fix it.