|
⇤ ← Revision 1 as of 2010-02-25 20:27:02
Size: 919
Comment: create page, add content (Rev 5540)
|
Size: 932
Comment: question added
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 17: | Line 17: |
| ||'''surface'''||the surface to update|| | ||'''surface'''||the surface to ,,update,, ^query?^|| |
DRAFT |
SDL_GetColorKey
Use this function to get the color key (transparent pixel) in a blittable surface.
Contents
Syntax
int SDL_GetColorKey(SDL_Surface* surface,
Uint32* key)
Function Parameters
surface |
the surface to update query? |
key |
a pointer filled in with the transparent pixel in the native surface format |
Return Value
Returns 0 on success, or -1 if the surface is not valid or colorkey is not enabled; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
