src/video/gem/SDL_gemvideo.c
branchSDL-1.2
changeset 5867 94e0116059f4
parent 5653 9a7d629b403a
child 6137 4720145f848b
     1.1 --- a/src/video/gem/SDL_gemvideo.c	Fri Sep 02 13:55:31 2011 -0400
     1.2 +++ b/src/video/gem/SDL_gemvideo.c	Sat Sep 03 09:52:45 2011 +0200
     1.3 @@ -217,8 +217,7 @@
     1.4  {
     1.5  	unsigned long EdDI_version;
     1.6  	long cookie_EdDI;
     1.7 -	Uint32 num_colours;
     1.8 -	Uint16 clut_type, num_bits;
     1.9 +	Uint16 clut_type;
    1.10  
    1.11  	/* Read EdDI informations */
    1.12  	if  (Getcookie(C_EdDI, &cookie_EdDI) == C_NOTFOUND) {
    1.13 @@ -231,8 +230,6 @@
    1.14  
    1.15  	VDI_format = work_out[0];
    1.16  	clut_type = work_out[1];
    1.17 -	num_bits = work_out[2];
    1.18 -	num_colours = *((Uint32 *) &work_out[3]);
    1.19  
    1.20  	/* With EdDI>=1.1, we can have screen pitch, address and format
    1.21  	 * so we can directly write to screen without using vro_cpyfm