Full Screen

Hi !

I’m new here…
and my english isn’t so good, but mayeby You understand me :slight_smile:

I’ve question about FullScreen mode.
I use this :
SDL_SetVideoMode(800,600,8,SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF)
and i use 1024x768 mode in KDE
and when the program starts i’ve a full screen applicatnion but next to my
800x600 picture is monstrous blask border
Is it ok ??

and second question
I compile my program in KDevelop.
All is OK, but then i want to use program, i must run terminal, and in
termianl’s window run program
Is it able to omit this terminal window ?

Thanks !
LISEK

SDL_SetVideoMode(800,600,8,SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF)
and i use 1024x768 mode in KDE
and when the program starts i’ve a full screen applicatnion but next to my
800x600 picture is monstrous blask border
Is it ok ??

This is ok.

SDL tries to set the monitor to 800x600, but if it can’t, it’ll use the
closest resolution and puts a black border around the surface.

Try adding 800x600 to your /etc/X11/XF86Config file.

–ryan.