src/video/dummy/SDL_nullrender.c
changeset 2262 bee005ace1bf
parent 2228 bb67fd5ccfdb
child 2267 c785543d1843
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(&copydata);
   203             copyfunc(&copydata);
       
   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,