Is mandatory GLX support with Linux 2D games?

Previous topic - Next topic

kaotiklabs

Hi, I?m executing one small 2d-only game in Linux (tried on fedora and debian).
Once the dependencies are resolved (sdl_mixer and libstdc++) it fails because I have no glx support.

Is mandatory to have glx enabled even if the game has not any 3d at all?? It seems like opengl support is been linked allways by default...
The linux hosts were virtualized,  may be this could affect?

Thanks!
Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!

MrTAToad

Its mostly likely madatory - especially as SDL uses GLX

kaotiklabs

#2
Really?

I thought that GLX was just a opengl extension for binding opengl inside an x window, nothing related with SDL.
As far as I know, altought sdl and opengl usually are used together, they are totally independent and so you should not need glx support for playing just an sdl game.

Maybe I?m confused?
Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!

MrTAToad

According to a 2001 message, it uses GLX internally - its possible there are mutiple versions - one uses GLX and the other doesn't

Kitty Hello

GLBasic uses 3D graphics for 2D, too. If you want to get rid of that dependency, use the "XBox-Linux" build, which is Linux on framebuffer.

kaotiklabs


Thanks!

That?s what I needed.
You know, altought now is very common to find glx support enabled in new distributions, is not still a default option.
This way is easy to distribute. :)
Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!