I want to use a specific driver

Hello,

I use SDL-1.2.4 with Linux and SDL use x11 driver
but I want to use another driver (dga or DirectFB) for speed reason but
I don’t found how I can do that. (I do a rgrep -riB “dga”
~/SDL1.2/docs/)

A++ A french user qui n’en veut.

Hello,

I use SDL-1.2.4 with Linux and SDL use x11 driver
but I want to use another driver (dga or DirectFB) for speed reason but
I don’t found how I can do that. (I do a rgrep -riB “dga”
~/SDL1.2/docs/)

Did you read the FAQ?
http://www.libsdl.org/faq/FAQ-General.html#GENERAL_VIDEODRIVER
http://www.libsdl.org/faq/FAQ-Linux.html#LINUX_12

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Guillaume Dorchies wrote:

Hello,

I use SDL-1.2.4 with Linux and SDL use x11 driver
but I want to use another driver (dga or DirectFB) for speed reason but
I don’t found how I can do that. (I do a rgrep -riB “dga”
~/SDL1.2/docs/)

A++ A french user qui n’en veut.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

export SDL_VIDEODRIVER=dga

use dga2 for XFree86 4.1

you can putenv this variable to set it in the program for on the fly driver changes I believe.–
-==-
Jon Atkins
http://jonatkins.org/