Józef Kucia : d3d9: Check if valid vertex declaration is set before issuing draw call.