BRL.dxgraphics ignores flags

Archives Forums/BlitzMax Bug Reports/BRL.dxgraphics ignores flags

Noobody(Posted 2011) [#1]
Basically, all flags passed as the last parameter to Graphics get ignored by the D3D9GraphicsDriver and possibly the D3D7GraphicsDriver as well.

I've had a quick look at the source of the DX9 driver and saw that the flags get passed down until the creation of the D3DDevice, at which point they get happily discarded and hard coded parameters take their place.

This is very very annoying, since I now have to extend TD3D9Graphics and override the Create method so I can actually use a z-buffer in my project without having to modify the module source directly (which breaks portability).

Can this see a fix anytime soon?


GfK(Posted 2011) [#2]
Blimey - had a play with this stuff ages ago and couldn't get it to work. Thought it was just me not knowing what I was doing.

Nice to know (in a way!) that its actually bust!