Currently i am getting a lot of EMails from 2003 !
PLEASE INSTALL A NEW MAILMAN VERSION.
CU> ----- Original Message -----
Subject: [SDL] Setting the Color Key
From: firstname.lastname@example.org (Andrew)
Date: Thu, June 26, 2003 3:51
To: sdl at libsdl.org
I’m new at SDL and writing my first program but I can’t figure out how to
set the color key. I have a bmp loaded on my surface “image” and i want
the colorkey to be RGB 0, 255, 0 (green) but I don’t understand what the
Uint32 flag is or what to put there referring to:
SDL_SetColorKey(SDL_Surface *surface, Uint32 flag, Uint32 key);