Mercurial > sdl-ios-xcode
diff test/testgl.c @ 1439:4d3bb026cd16
Fixed warnings in -pedantic mode
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 26 Feb 2006 05:02:14 +0000 |
parents | 670e74bf5cc8 |
children | 0a53c90a37f9 3b2a92126f4d |
line wrap: on
line diff
--- a/test/testgl.c Sun Feb 26 04:54:01 2006 +0000 +++ b/test/testgl.c Sun Feb 26 05:02:14 2006 +0000 @@ -245,8 +245,6 @@ static int w, h; int x, y; - SDL_Surface *screen = SDL_GetVideoSurface(); - if ( ! cursor_texture ) { SDL_Surface *image; GLfloat texcoord[4]; @@ -303,7 +301,6 @@ static int w, h; static int delta_x = 1; static int delta_y = 1; - static Uint32 last_moved = 0; SDL_Surface *screen = SDL_GetVideoSurface(); @@ -377,7 +374,6 @@ static int w, h; static int delta_x = 1; static int delta_y = 1; - static Uint32 last_moved = 0; SDL_Rect dst; SDL_Surface *screen = SDL_GetVideoSurface(); @@ -657,7 +653,7 @@ glVertex3fv(cube[2]); glColor3fv(color[7]); glVertex3fv(cube[7]); -#else // flat cube +#else /* flat cube */ glColor3f(1.0, 0.0, 0.0); glVertex3fv(cube[0]); glVertex3fv(cube[1]); @@ -767,7 +763,7 @@ int main(int argc, char *argv[]) { - int i, logo, logocursor; + int i, logo, logocursor = 0; int numtests; int bpp = 0; int slowly;