Mercurial > sdl-ios-xcode
diff src/video/nds/SDL_ndsrender.c @ 2810:27cb878a278e
Implemented the X11 (non-OpenGL) renderer, no alpha or scaling available.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 30 Nov 2008 21:58:23 +0000 |
parents | 204be4fc2726 |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/video/nds/SDL_ndsrender.c Sat Nov 29 21:48:14 2008 +0000 +++ b/src/video/nds/SDL_ndsrender.c Sun Nov 30 21:58:23 2008 +0000 @@ -124,9 +124,6 @@ const SDL_Rect * rect, int markDirty, void **pixels, int *pitch); static void NDS_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture); -static void NDS_DirtyTexture(SDL_Renderer * renderer, - SDL_Texture * texture, int numrects, - const SDL_Rect * rects); static int NDS_RenderFill(SDL_Renderer * renderer, Uint8 r, Uint8 g, Uint8 b, Uint8 a, const SDL_Rect * rect); static int NDS_RenderCopy(SDL_Renderer * renderer, @@ -246,7 +243,6 @@ renderer->UpdateTexture = NDS_UpdateTexture; renderer->LockTexture = NDS_LockTexture; renderer->UnlockTexture = NDS_UnlockTexture; - renderer->DirtyTexture = NDS_DirtyTexture; renderer->DestroyTexture = NDS_DestroyTexture; renderer->info.mod_modes = NDS_RenderDriver.info.mod_modes; @@ -499,13 +495,6 @@ /* stub! */ } -static void -NDS_DirtyTexture(SDL_Renderer * renderer, SDL_Texture * texture, - int numrects, const SDL_Rect * rects) -{ - /* stub! */ -} - static int NDS_RenderFill(SDL_Renderer * renderer, Uint8 r, Uint8 g, Uint8 b, Uint8 a, const SDL_Rect * rect)