--- libgender/test.C 2004/10/21 21:20:09 1.68 +++ libgender/test.C 2004/10/23 02:27:51 1.69 @@ -245,7 +245,7 @@ SDL_GL_SetAttribute (SDL_GL_RED_SIZE, rgb_size[0]); SDL_GL_SetAttribute (SDL_GL_GREEN_SIZE, rgb_size[1]); SDL_GL_SetAttribute (SDL_GL_BLUE_SIZE, rgb_size[2]); - SDL_GL_SetAttribute (SDL_GL_DEPTH_SIZE, 16); + SDL_GL_SetAttribute (SDL_GL_DEPTH_SIZE, 24); SDL_GL_SetAttribute (SDL_GL_DOUBLEBUFFER, 1); if (fsaa) @@ -261,12 +261,12 @@ exit (1); } - printf ("Screen BPP: %d\n", SDL_GetVideoSurface ()->format->BitsPerPixel); - printf ("\n"); - printf ("Vendor : %s\n", glGetString (GL_VENDOR)); - printf ("Renderer : %s\n", glGetString (GL_RENDERER)); - printf ("Version : %s\n", glGetString (GL_VERSION)); - printf ("Extensions : %s\n", glGetString (GL_EXTENSIONS)); + //printf ("Screen BPP: %d\n", SDL_GetVideoSurface ()->format->BitsPerPixel); + //printf ("\n"); + //printf ("Vendor : %s\n", glGetString (GL_VENDOR)); + //printf ("Renderer : %s\n", glGetString (GL_RENDERER)); + //printf ("Version : %s\n", glGetString (GL_VERSION)); + //printf ("Extensions : %s\n", glGetString (GL_EXTENSIONS)); printf ("\n"); SDL_GL_GetAttribute (SDL_GL_RED_SIZE, &value); @@ -300,6 +300,8 @@ planet->move (vec3 (0, 0, -20)); planet->show (); + shader::debdebdebdebug ();//D + #if 1 for (int i = 0; i < 20; i++) { @@ -439,8 +441,6 @@ int noframe = 0; int fsaa = 0; - shader::debdebdebdebug ();//D - logo = 0; slowly = 0; numtests = 1;