What in DirectX version breaks DX3 compatiblity?

Can anyone give me a summary of what in the SDL library keeps it from
working with DirectX3 so I might could make modifications to sort of "force"
it to work? I ask because I need it to run on WindowsNT 4.0 and DirectX 3
is the only option other than making it run in a window via the GDI library
(which isn’t quite as fast).

Can anyone help?

mike

Can anyone give me a summary of what in the SDL library keeps it from
working with DirectX3 so I might could make modifications to sort of "force"
it to work? I ask because I need it to run on WindowsNT 4.0 and DirectX 3
is the only option other than making it run in a window via the GDI library
(which isn’t quite as fast).

Heheh. Well, all of the surface code in SDL_dx5video.c would have to be
redone since SDL assumes that it can tell DirectX where the memory for a
surface resides. Also the DirectSound audio will have no way of telling
how far along the playback is in the audio buffer.

You’re probably better off finding out how to detect the available video
modes for ChangeDisplaySettings() and whipping together GDI fullscreen code.
Someone already posted code for the rest of it, and I’ll be happy to
incorporate it as soon as I can find a way to query the available modes.

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Ah man that sucks!

You’re probably better off finding out how to detect the available video
modes for ChangeDisplaySettings() and whipping together GDI fullscreen
code.
Someone already posted code for the rest of it, and I’ll be happy to
incorporate it as soon as I can find a way to query the available modes.

If the video mode size = required size (e.g. 640x480), do you supposed there
would be any speed improvement versus say it running 640x480 on a 800x600
screen, or does it just give the feel of being fullscreen versus in a
window?

I’m asking because I’m running a Permedia2 card on my AlphaStation machine
running NT4 and it runs like an absolute dog in windowed mode, so its really
not even usable like that (16bit color of course)

mike