[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Ann: Pygame 1.8 SVN snapshot as Win32 installers



Yes, looking at the source code I see what you mean. It is still that way in CVS, though a different approach is being taken with SDL 1.3. In this case I can't make any suggestions one way or the other.

Lenard

Brian Fisher wrote:
DirectX support is always compiled in on windows - however support
being enabled is different than it being the default backend. look at
SDL_video.c - SDL_VideoInit() implements the backend selection. It
works by using the first in the list if no specific one is specified.
You can see from the "static VideoBootStrap *bootstrap[] " list that
windib is just before directx in that list, which makes it the
default.

To change the default you'd have to change the order of the list in
SDL, or set the environment variable to directX (if not set already)
before calling SDL_VideoInit.

On Jan 26, 2008 9:45 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
Funny. The first item in the SDL FAC* says, "SDL takes advantage of
DirectX hardware acceleration when it is available, but falls back to
the standard Win32 services if DirectX is not installed". And the SDL
1.2.12 configure script shows DirectX enabled by default. So it appears
to have been re-activated (or their documentation is outdated). But I
can always add a build flag to force DirectX support. SDL 1.2.13 is out
so I should try building it anyway.

Lenard

* http://www.libsdl.org/faq.php?action=listentries&category=4#38