Fixed compile warning
authorSam Lantinga <slouken@libsdl.org>
Tue, 10 Nov 2009 08:45:08 +0000
changeset 242f2bb16f1be12
parent 241 14718af046dc
child 243 f92c6b8019b2
Fixed compile warning
IMG_ImageIO.c
IMG_UIImage.m
     1.1 --- a/IMG_ImageIO.c	Tue Nov 10 08:29:30 2009 +0000
     1.2 +++ b/IMG_ImageIO.c	Tue Nov 10 08:45:08 2009 +0000
     1.3 @@ -235,7 +235,7 @@
     1.4  	CGRect rect = {{0, 0}, {w, h}};
     1.5  
     1.6  	CGImageAlphaInfo alpha = CGImageGetAlphaInfo(image_ref);
     1.7 -	size_t bits_per_pixel = CGImageGetBitsPerPixel(image_ref);
     1.8 +	//size_t bits_per_pixel = CGImageGetBitsPerPixel(image_ref);
     1.9  	size_t bits_per_component = 8;
    1.10  
    1.11  	SDL_Surface* surface;
     2.1 --- a/IMG_UIImage.m	Tue Nov 10 08:29:30 2009 +0000
     2.2 +++ b/IMG_UIImage.m	Tue Nov 10 08:45:08 2009 +0000
     2.3 @@ -27,7 +27,7 @@
     2.4  	CGRect rect = {{0, 0}, {w, h}};
     2.5  
     2.6  	CGImageAlphaInfo alpha = CGImageGetAlphaInfo(image_ref);
     2.7 -	size_t bits_per_pixel = CGImageGetBitsPerPixel(image_ref);
     2.8 +	//size_t bits_per_pixel = CGImageGetBitsPerPixel(image_ref);
     2.9  	size_t bits_per_component = 8;
    2.10  
    2.11  	SDL_Surface* surface;