Matthieu Fertré wrote:

Hi,

I am trying to understand how to install/use glSDL because I hope that performance must be much better now since we do not recreate SDL_Surface (for each image) of the text display on the screen.

But I am searching for more than 1 hour, and I still not understand how use glSDL.

Jean-Christophe, can you explain how to use it ?


1) download SDL sources ( I have used SDL-1.2.8 if I well remember )

2) download the glSDL backend patch

3) extract the SDL sources

4) patch the SDL sources with the glSDL backend patch
If you have problems with this step perhaps you must use another release of SDL

5) configure sdl with the paramater --enable-glsdl (see configure --help)

Note: you can sepcify another prefix as your usual so you can use your new SDL library only when you want it exporting the env variable LD_LIBRARY_PATH to the location where the new library is.

6) make make install

7) export SDL_VIDEODRIVER=glSDL to say SDLto use the glSDL backend

8) simply launch wormux

If you have a problem,say me in which step

a+
Jean-Christophe

--
Jean-Christophe Duberga - http://jeanchristophe.duber.free.fr
webmaster du site MNEA  - http://www.mnea.fr


Répondre à