test/testgl.c
changeset 1439 4d3bb026cd16
parent 1265 670e74bf5cc8
child 1654 0a53c90a37f9
child 1736 3b2a92126f4d
     1.1 --- a/test/testgl.c	Sun Feb 26 04:54:01 2006 +0000
     1.2 +++ b/test/testgl.c	Sun Feb 26 05:02:14 2006 +0000
     1.3 @@ -245,8 +245,6 @@
     1.4  	static int w, h;
     1.5  	int x, y;
     1.6  
     1.7 -	SDL_Surface *screen = SDL_GetVideoSurface();
     1.8 -
     1.9  	if ( ! cursor_texture ) {
    1.10  		SDL_Surface *image;
    1.11  		GLfloat texcoord[4];
    1.12 @@ -303,7 +301,6 @@
    1.13  	static int w, h;
    1.14  	static int delta_x = 1;
    1.15  	static int delta_y = 1;
    1.16 -	static Uint32 last_moved = 0;
    1.17  
    1.18  	SDL_Surface *screen = SDL_GetVideoSurface();
    1.19  
    1.20 @@ -377,7 +374,6 @@
    1.21  	static int w, h;
    1.22  	static int delta_x = 1;
    1.23  	static int delta_y = 1;
    1.24 -	static Uint32 last_moved = 0;
    1.25  
    1.26  	SDL_Rect dst;
    1.27  	SDL_Surface *screen = SDL_GetVideoSurface();
    1.28 @@ -657,7 +653,7 @@
    1.29  			glVertex3fv(cube[2]);
    1.30  			glColor3fv(color[7]);
    1.31  			glVertex3fv(cube[7]);
    1.32 -#else // flat cube
    1.33 +#else /* flat cube */
    1.34  			glColor3f(1.0, 0.0, 0.0);
    1.35  			glVertex3fv(cube[0]);
    1.36  			glVertex3fv(cube[1]);
    1.37 @@ -767,7 +763,7 @@
    1.38  
    1.39  int main(int argc, char *argv[])
    1.40  {
    1.41 -	int i, logo, logocursor;
    1.42 +	int i, logo, logocursor = 0;
    1.43  	int numtests;
    1.44  	int bpp = 0;
    1.45  	int slowly;