src/video/SDL_surface.c
changeset 2329 c1a390f6a819
parent 2328 91e601d9df8b
child 2698 e1da92da346c
equal deleted inserted replaced
2328:91e601d9df8b 2329:c1a390f6a819
   541         (src->map->dst->format_version != src->map->format_version)) {
   541         (src->map->dst->format_version != src->map->format_version)) {
   542         if (SDL_MapSurface(src, dst) < 0) {
   542         if (SDL_MapSurface(src, dst) < 0) {
   543             return (-1);
   543             return (-1);
   544         }
   544         }
   545         /* just here for debugging */
   545         /* just here for debugging */
   546 /*         printf("src = 0x%08X src->flags = %08X src->map->info.flags = %08x\ndst = 0x%08X dst->flags = %08X dst->map->info.flags = %08X\nsrc->map->blit = 0x%08x\n",  */
   546 /*         printf */
   547 /*                src, dst->flags, src->map->info.flags, */
   547 /*             ("src = 0x%08X src->flags = %08X src->map->info.flags = %08x\ndst = 0x%08X dst->flags = %08X dst->map->info.flags = %08X\nsrc->map->blit = 0x%08x\n", */
   548 /*                dst, dst->flags, dst->map->info.flags, */
   548 /*              src, dst->flags, src->map->info.flags, dst, dst->flags, */
   549 /*                src->map->blit); */
   549 /*              dst->map->info.flags, src->map->blit); */
   550     }
   550     }
   551     return (src->map->blit(src, srcrect, dst, dstrect));
   551     return (src->map->blit(src, srcrect, dst, dstrect));
   552 }
   552 }
   553 
   553 
   554 
   554