Mercurial > sdl-ios-xcode
comparison src/video/dummy/SDL_nullrender.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 | bb67fd5ccfdb |
children | c785543d1843 |
comparison
equal
deleted
inserted
replaced
2261:c20476d7d7b3 | 2262:bee005ace1bf |
---|---|
198 copydata.flags |= SDL_RENDERCOPY_MOD; | 198 copydata.flags |= SDL_RENDERCOPY_MOD; |
199 } | 199 } |
200 if (texture->scaleMode) { | 200 if (texture->scaleMode) { |
201 copydata.flags |= SDL_RENDERCOPY_NEAREST; | 201 copydata.flags |= SDL_RENDERCOPY_NEAREST; |
202 } | 202 } |
203 return copyfunc(©data); | 203 copyfunc(©data); |
204 return 0; | |
204 } else { | 205 } else { |
205 SDL_Rect real_srcrect = *srcrect; | 206 SDL_Rect real_srcrect = *srcrect; |
206 SDL_Rect real_dstrect = *dstrect; | 207 SDL_Rect real_dstrect = *dstrect; |
207 | 208 |
208 return SDL_LowerBlit(surface, &real_srcrect, target, | 209 return SDL_LowerBlit(surface, &real_srcrect, target, |