test/testdrawchessboard.c
changeset 8058 8e4512b74223
parent 7905 586eddae6340
child 8149 681eb46b8ac4
     1.1 --- a/test/testdrawchessboard.c	Tue Dec 10 16:24:11 2013 -0300
     1.2 +++ b/test/testdrawchessboard.c	Wed Dec 11 21:13:45 2013 -0800
     1.3 @@ -34,7 +34,7 @@
     1.4  		x = x + coloum;
     1.5  		for(coloum; coloum < 4+(row%2); coloum++)
     1.6  		{
     1.7 -			SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0);
     1.8 +			SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0xFF);
     1.9  
    1.10  			rect.w = darea.w/8;
    1.11  			rect.h = darea.h/8;
    1.12 @@ -81,7 +81,7 @@
    1.13  	}
    1.14  
    1.15  	/* Clear the rendering surface with the specified color */
    1.16 -	SDL_SetRenderDrawColor(renderer, 0xFF, 0xFF, 0xFF, 0);
    1.17 +	SDL_SetRenderDrawColor(renderer, 0xFF, 0xFF, 0xFF, 0xFF);
    1.18  	SDL_RenderClear(renderer);
    1.19  
    1.20