[SDL] [PATCH] SDL_Surface hardware info?

Sam Lantinga slouken at devolution.com
Mon Nov 15 16:46:46 PST 2004


> Dmitry Yakimov wrote:

> >Hi,
> >
> >Very useful patch, thanks, I wish it was in CVS.
> >
> It's nice that it works under windows.
> I'll try to do a new version that also works on OS X.
> I also think the flag can be made read-write if I take a little extra care.

> Sam, what do you think about this idea ? Is it worth pursuing ?

What would probably be more useful is a flag to setting the video mode
to fail if hardware accelerated rendering isn't available.  It's a little
fuzzy in that it's possible for certain applications to run OpenGL well
over the network under X11, and conversely even if OpenGL may be accelerated,
your app may require shaders that are not supported.

	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list