Mercurial > sdl-ios-xcode
diff src/video/ps3/SDL_ps3render.c @ 3596:f638ded38b8a
Added SDL_RenderClear() as a fast method of clearing the screen to the drawing color.
Renamed SDL_RenderPoint() and SDL_RenderLine() to SDL_RenderDrawPoint() and SDL_RenderDrawLine().
Added API for rectangle drawing (as opposed to filling)
Added placeholder API functions for circles and ellipses ... I'm not sure whether these will stay.
Optimized software line drawing quite a bit.
Added support for Wu's anti-aliased line drawing, currently disabled by default.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 23 Dec 2009 01:55:00 +0000 |
parents | 94fb40a4a9a7 |
children | 64ce267332c6 |
line wrap: on
line diff
--- a/src/video/ps3/SDL_ps3render.c Fri Dec 18 08:19:18 2009 +0000 +++ b/src/video/ps3/SDL_ps3render.c Wed Dec 23 01:55:00 2009 +0000 @@ -503,8 +503,9 @@ status = SDL_FillRect(target, &real_rect, color); } else { status = - SDL_BlendRect(target, &real_rect, renderer->blendMode, - renderer->r, renderer->g, renderer->b, renderer->a); + SDL_BlendFillRect(target, &real_rect, renderer->blendMode, + renderer->r, renderer->g, renderer->b, + renderer->a); } return status; }