~teromene/lmdc/trunk

« back to all changes in this revision

Viewing changes to src/API/image.c

  • Committer: Teromene
  • Date: 2014-01-02 18:07:56 UTC
  • Revision ID: teromene@gmail.com-20140102180756-1mexnswm7kocudck
Added lot of stuff, gfx updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        /* Return the processed image */
16
16
        image = rotozoomSurfaceXY(image, 0, (max_w/640.0),(max_h/480.0), 1);
17
17
        return image;
 
18
        SDL_FreeSurface(image);
18
19
}
19
20
SDL_Surface *loadSizedImage(char *name,double sizeX,double sizeY)
20
21
{