Zebediah Figura : d3d9: Use device->stateblock_state to check for a valid vertex declaration.