[SDL] SDL fullscreen problem

cocobear cocobear.cn at gmail.com
Tue Sep 4 08:27:48 PDT 2007


于 Tue, 4 Sep 2007 16:40:39 +0200
Alberto Luaces <aluaces at udc.es> 写道:

> El Martes 04 Septiembre 2007 16:01, cocobear escribió:
> > I should use #include "SDL/SDL.h",because if I use "SDL.h",the GCC
> > could't find SDL.h
> > My SDL.h is in /usr/include/SDL/SDL.h
> 
> No, you should use "SDL.h" only, because "sdl-config --cflags" gives
> 
> -I/usr/include/SDL
> 
> so GCC can find the header. You should then compile so:
> 
> gcc myfile.c `sdl-config --cflags` -c
> _______________________________________________


I find the problem!
When I try this code on my classmate's computer ,and there's no
problem,his OS also Fedora 7.

When I change video mode to 1024x768,it works. 1024x768 is my
resolution of X.

Is it bug of SDL or problem of my Video Card.
/*
 *Welcome to cocobear's home!
 *http://cocobear.cn
 */


More information about the SDL mailing list