[SDL] Using Directx with SDL
slouken at devolution.com
Tue Jan 21 21:30:01 PST 2003
> I.ve been trying to get my SDL program to use Directx as a
> rendering backend with no success at all.
> I use devcpp and I am running Win98. My program runs in windowed
> and fullscreen modes with no problems at all. But when I try to
> use directx by setting SDL_VIDEODRIVER=directx in a command
> window, my program promptly crashes. What gives?
This is usually caused by requesting hardware video surfaces and
then not locking them before accessing them. See the mailing list
archives for lots and lots of discussion about this.
-Sam Lantinga, Software Engineer, Blizzard Entertainment
More information about the SDL