[SDL] OpenGL and SDL_Surface

David Olofson david.olofson at reologica.se
Mon Jun 24 08:11:01 PDT 2002


On Sun, 23/06/2002 11:42:02 , Danny Angelo Carminati Grein <danny.linux at gmx.net> wrote:
>
>	Has any problem to use a simple SDL_Surface image over a screen SDL_Surface 
>OpenGL?
>
>	Any trick to do this?

Either hack your own (which I'd recommend if it's an OpenGL application anyway), or use glSDL:

    http://olofson.net/mixed.html


Of course, you could rip stuff from glSDL if the LGPL license works for you. (The tiling stuff for large surfaces would be the interesting part, although it's still missing one feature...)


//David


.---------------------------------------
| David Olofson
| Programmer
| david.olofson at reologica.se
|---------------------------------------
| Address:
| REOLOGICA Instruments AB
| Scheelevägen 30
| 223 63 LUND
| Sweden
|---------------------------------------
| Phone: 046-12 77 60
| Fax: 046-12 50 57
| Mobil: 
| E-mail: david.olofson at reologica.se
| WWW: http://www.reologica.se
| 
`-----> We Make Rheology Real





More information about the SDL mailing list