PDA

View Full Version : SDL problems



Hamcha
10-11-2001, 06:19 AM
I use SDL.
It is great, but there's one problem.. there's no hardware acceleration (I think).
Every thing I compile for SDL i slow.. but they are fast if I compile them for GLX.

I REALLY need help.. plz

/Hamcha

Shyru
10-13-2001, 09:29 AM
Well, i'm using SDL for creating an OpenGL context too, and i dont't think it runs that slow. (Well i didnt try GLX ;-) ) But do you link the same opengl library when you compile SDL or GLX??

Hamcha
10-13-2001, 11:02 PM
I made a small compile-script, because I don't want to write the 20 meter long command-line every time I compile.

I used that script both with SDL and GLX. GLX works but not SDL.

Hamcha
10-16-2001, 11:32 PM
What command line do you compile your sdl-apps with?

Plz answer

jackz
10-17-2001, 03:33 AM
Originally posted by Hamcha:
I use SDL.
It is great, but there's one problem.. there's no hardware acceleration (I think).
Every thing I compile for SDL i slow.. but they are fast if I compile them for GLX.

I REALLY need help.. plz

/Hamcha

Have you checked with ldd command that both use same GL(X) librarys.
If you have added some new libraries (nvidia??, or updated old ones)
SDL might use some old library.

T;jackz