~teromene/lmdc/trunk

« back to all changes in this revision

Viewing changes to src/API/image.c

  • Committer: Teromene
  • Date: 2013-11-24 17:29:01 UTC
  • Revision ID: teromene@gmail.com-20131124172901-7l3o6i017ushg0my
Added a new game, boxes and edited LMDC.desktop file

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
double h = image->h;
25
25
image = rotozoomSurfaceXY(image, 0, (sizeX/w)*(max_w/640.0),(sizeY/h)*(max_h/480.0), 0);
26
26
        return image;
 
27
        SDL_FreeSurface(image);
27
28
}
28
29
void drawImage(SDL_Surface *image, int x, int y,int blit)
29
30
{