Skip to content

Commit

Permalink
Clean up scale_surface to use only BLI on the Pandora too.
Browse files Browse the repository at this point in the history
  • Loading branch information
lipk committed Feb 16, 2014
1 parent 10df18d commit d62fbe5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/sdl_utils.cpp
Expand Up @@ -433,9 +433,6 @@ surface scale_surface(const surface &surf, int w, int h, bool optimize)
return NULL;
}

#ifdef PANDORA
if (w > surf->w || h > surf->h)
#endif
{
const_surface_lock src_lock(src);
surface_lock dst_lock(dst);
Expand Down Expand Up @@ -563,12 +560,6 @@ surface scale_surface(const surface &surf, int w, int h, bool optimize)
}
}
}
#ifdef PANDORA
else
{
scale_surface_down(dst, src, w, h);
}
#endif

return optimize ? create_optimized_surface(dst) : dst;
}
Expand Down

0 comments on commit d62fbe5

Please sign in to comment.