Problem with DGA

Hi to all,
on non accellerated linux box i use in my programs these statements before open video screen:

#ifdef linux
putenv(“SETVIDEODRIVER=DGA”);
#endif

in my not accellerated X system works great, but in others (dunno why)
compare this error: "Error: Not screen found"
how i should fix this problem?

regards,
Muzero

Muzero wrote:

Hi to all,
on non accellerated linux box i use in my programs these statements before open video screen:

#ifdef linux
putenv(“SETVIDEODRIVER=DGA”);
#endif

This putenv doesn’t do anything in SDL. Maybe you meant
SDL_VIDEODRIVER=dga ?

Stephane

This putenv doesn’t do anything in SDL. Maybe you meant
SDL_VIDEODRIVER=dga ?

Stephane

yes sorry for the mistake

Muzero

Muzero wrote:

This putenv doesn’t do anything in SDL. Maybe you meant
SDL_VIDEODRIVER=dga ?

Stephane

yes sorry for the mistake

Muzero

Ok, so I think you should describe the situation a bit more, and also
provide us with a program demonstrating your issues.

Stephane