Mercurial > pygame
diff src/pixelarray_methods.c @ 1037:c4c38b97db3b
Added Color class.
| author | marcus |
|---|---|
| date | Sat, 24 May 2008 06:23:52 +0000 |
| parents | 1a7e9d62146c |
| children | 902b98865c6c |
line wrap: on
line diff
--- a/src/pixelarray_methods.c Sat May 24 01:36:52 2008 +0000 +++ b/src/pixelarray_methods.c Sat May 24 06:23:52 2008 +0000 @@ -65,7 +65,7 @@ *color = (Uint32) longval; return 1; } - else if (RGBAFromObj (val, rgba)) + else if (RGBAFromColorObj (val, rgba)) { *color = (Uint32) SDL_MapRGBA (format, rgba[0], rgba[1], rgba[2], rgba[3]);
