IDirect3DDevice9Impl_SetVertexShader in d3d9/vertexshader.c

Paul Vriens Paul.Vriens at
Wed Feb 16 11:13:46 CST 2005


I have a demo-app that calls SetVertexShader with a NULL value.
According to MSDN this is valid:

To set a fixed-function vertex shader (after having set a programmable
vertex shader), call IDirect3DDevice9::SetVertexShader(NULL) to release
the programmable shader, and then call IDirect3DDevice9::SetFVF with the
fixed-function vertex format.

The app bails out of course because we do not handle the NULL value.
Will this be fixed in the big upcoming d3d updates?



More information about the wine-devel mailing list