comparison test/testgl.c @ 4884:27ab20a36eba

- added directx include path to VS2008 solution - updated shape vcproj and add it to VS2008 solution - minor changes (i.e. typecasting) to get rid of compiler warnings in VS
author Andreas Schiffler <aschiffler@ferzkopp.net>
date Wed, 15 Sep 2010 22:15:47 -0700
parents f8816ffa210b
children
comparison
equal deleted inserted replaced
4883:511948f4919e 4884:27ab20a36eba
652 652
653 if (gl_error != GL_NO_ERROR) { 653 if (gl_error != GL_NO_ERROR) {
654 fprintf(stderr, "testgl: OpenGL error: %d\n", gl_error); 654 fprintf(stderr, "testgl: OpenGL error: %d\n", gl_error);
655 } 655 }
656 656
657 sdl_error = SDL_GetError(); 657 sdl_error = (char *)SDL_GetError();
658 658
659 if (sdl_error[0] != '\0') { 659 if (sdl_error[0] != '\0') {
660 fprintf(stderr, "testgl: SDL error '%s'\n", sdl_error); 660 fprintf(stderr, "testgl: SDL error '%s'\n", sdl_error);
661 SDL_ClearError(); 661 SDL_ClearError();
662 } 662 }