diff --git a/D3D11Engine/D3D7/MyDirect3DDevice7.h b/D3D11Engine/D3D7/MyDirect3DDevice7.h index 9ceece8b..d24a7278 100644 --- a/D3D11Engine/D3D7/MyDirect3DDevice7.h +++ b/D3D11Engine/D3D7/MyDirect3DDevice7.h @@ -482,10 +482,6 @@ class MyDirect3DDevice7 : public IDirect3DDevice7 { HRESULT STDMETHODCALLTYPE DrawPrimitive( D3DPRIMITIVETYPE dptPrimitiveType, DWORD dwVertexTypeDesc, LPVOID lpvVertices, DWORD dwVertexCount, DWORD dwFlags ) { DebugWrite( "MyDirect3DDevice7::DrawPrimitive" ); - if ( dptPrimitiveType != D3DPT_TRIANGLEFAN ) - { - return S_OK; - } // Convert them into ExVertices static std::vector<ExVertexStruct> exv;