Mercurial > sdl-ios-xcode
comparison src/video/SDL_renderer_sw.c @ 2262:bee005ace1bf
Work in progress: merging new texture features into SDL blit system
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 17 Aug 2007 06:21:58 +0000 |
parents | b252359547ed |
children | c785543d1843 |
comparison
equal
deleted
inserted
replaced
2261:c20476d7d7b3 | 2262:bee005ace1bf |
---|---|
665 copydata.flags |= SDL_RENDERCOPY_MOD; | 665 copydata.flags |= SDL_RENDERCOPY_MOD; |
666 } | 666 } |
667 if (texture->scaleMode) { | 667 if (texture->scaleMode) { |
668 copydata.flags |= SDL_RENDERCOPY_NEAREST; | 668 copydata.flags |= SDL_RENDERCOPY_NEAREST; |
669 } | 669 } |
670 status = copyfunc(©data); | 670 copyfunc(©data); |
671 status = 0; | |
671 } else { | 672 } else { |
672 SDL_Rect real_srcrect = *srcrect; | 673 SDL_Rect real_srcrect = *srcrect; |
673 SDL_Rect real_dstrect; | 674 SDL_Rect real_dstrect; |
674 | 675 |
675 data->surface.w = dstrect->w; | 676 data->surface.w = dstrect->w; |