How to disable DX on pcs but not opengl

Miscellaneous Forums/General Discussion/How to disable DX on pcs but not opengl

Hi,

I want to test my supposedly-intelligent rendering paths by buggering up DX temporarily to see which OpenGL path it chooses in my game.

In theory it works... but I'm under no illusions so I want to test by breaking d on a tempory basis if possible :)

Thanks!

Use Framework.

Can you possibly restrain yourself re the number of threads you are starting in multiple forums for what is basically a single topic of discussion.

The answer is to download and install the DX sdk, then in control panel there is a new DX icon.
Double click this then go to directdraw tab and disable acceleration there. This makes blitzmax fail as it should, and then try OpenGL.
The next thing to do is simply check to see if its accelerated and if not, I EndGraphics() and simply enable SDL. I doubt I will do this on mac.

You should know that many blitzmax calls in software opengl actually mav. These include DrawText and DrawLine, and possibly others.

I think it will be fine on macs however, even in software.

You can also force openGL software mode for debugging. I have an nVidia card and I use NVemulate to force software raterisation.

> Can you possibly restrain yourself re the number
> of threads you are starting in multiple forums

Give the guy a break, he's only got one eye!
He probably can't even see properly where he's posting.

lol

Had just got thrashed at tennis again by the boss, sry 4 the bad attitude...

np pal

You can disable Direct3D acceleration without the SDK -- just run Start Menu -> Run -> dxdiag.exe and hit the Display tab. The option to disable/enable it is in there.