-
Notifications
You must be signed in to change notification settings - Fork 74
Sdl SurfaceSetColorKey
Ivan Baidakou edited this page Sep 21, 2015
·
4 revisions
Set the surface color key.
ret, err = function Surface:setColorKey(flag, color)
- flag, boolean, true to enable color key, false to disable color key
- color, the color (see Color (table) and Color (hexadecimal))
- ret, true on success or false
- err, the error message