[SDL] Hardware Surfaces
Sam Lantinga
slouken at devolution.com
Thu Mar 22 18:21:12 PST 2001
> On Thu, Mar 22, 2001 at 03:20:40PM -0800, Sam Lantinga wrote:
> > The DGA 2.0 driver does support hardware surfaces.
> > http://www.libsdl.org/faq/FAQ-Linux.html#LINUX_12
> Terrific! But why do I need to run the program as root?
Root permissions are required to map the video memory.
> And, one other question: why do I need to set SDL_VIDEODRIVER
> to dga? Why not just use dga if it's available?
DGA doesn't run windowed. It doesn't support OpenGL.
Because these are two very important features, I didn't want to
disable them by default.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
More information about the SDL
mailing list