[SDL] SDL_Surface and OpenGL

Mike Mullen mmullen2042 at rogers.com
Tue Sep 24 19:33:01 PDT 2002


That's been my (limited) experience so far. I have done this only with
SDL_SWSURFACE types, not sure about SDL_HWSURFACE types.


----- Original Message -----
From: "Rainer Deyke" <root at rainerdeyke.com>
Newsgroups: loki.open-source.sdl
To: <sdl at libsdl.org>
Sent: Tuesday, September 24, 2002 10:03 PM
Subject: [SDL] SDL_Surface and OpenGL

> Can I safely assume that 2D SDL functions will work correctly with
> SDL_OPENGL if I stay within software surfaces and don't attempt to
> directly or indirectly access the video surface?  In particular, I
> want to use 'SDL_LoadBMP' and convert the result manually to an OpenGL
> texture.
> --
> Rainer Deyke | root at rainerdeyke.com | http://rainerdeyke.com
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

More information about the SDL mailing list