Skip to content

Commit

Permalink
Fixed compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 10, 2009
1 parent 5f420ee commit b4a2063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion IMG_ImageIO.c
Expand Up @@ -235,7 +235,7 @@ static SDL_Surface* Create_SDL_Surface_From_CGImage(CGImageRef image_ref)
CGRect rect = {{0, 0}, {w, h}};

CGImageAlphaInfo alpha = CGImageGetAlphaInfo(image_ref);
size_t bits_per_pixel = CGImageGetBitsPerPixel(image_ref);
//size_t bits_per_pixel = CGImageGetBitsPerPixel(image_ref);
size_t bits_per_component = 8;

SDL_Surface* surface;
Expand Down
2 changes: 1 addition & 1 deletion IMG_UIImage.m
Expand Up @@ -27,7 +27,7 @@
CGRect rect = {{0, 0}, {w, h}};

CGImageAlphaInfo alpha = CGImageGetAlphaInfo(image_ref);
size_t bits_per_pixel = CGImageGetBitsPerPixel(image_ref);
//size_t bits_per_pixel = CGImageGetBitsPerPixel(image_ref);
size_t bits_per_component = 8;

SDL_Surface* surface;
Expand Down

0 comments on commit b4a2063

Please sign in to comment.