Oops, 512x512 in 16 bit mode SDL-1.2
authorSam Lantinga
Mon, 25 Jun 2007 14:58:22 +0000
branchSDL-1.2
changeset 3977722db1bd733c
parent 3976 8582c6a5ca16
child 3978 b966761fef6c
Oops, 512x512 in 16 bit mode
src/video/nds/SDL_ndsvideo.c
     1.1 --- a/src/video/nds/SDL_ndsvideo.c	Mon Jun 25 00:50:20 2007 +0000
     1.2 +++ b/src/video/nds/SDL_ndsvideo.c	Mon Jun 25 14:58:22 2007 +0000
     1.3 @@ -331,7 +331,7 @@
     1.4  	if(bpp==8)
     1.5  		current->pitch =1024;
     1.6  	else
     1.7 -		current->pitch =1024*2;
     1.8 +		current->pitch =512*2;
     1.9  
    1.10  	/* We're done */
    1.11  	return(current);