From becac6d4c8dcf2f8b25653c4c9f6629e254c36f6 Mon Sep 17 00:00:00 2001 From: PatrickvL Date: Tue, 11 Sep 2018 10:00:34 +0200 Subject: [PATCH] Remove duplicate call to CxbxUpdateNativeD3DResources --- src/core/HLE/D3D8/XbPushBuffer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/HLE/D3D8/XbPushBuffer.cpp b/src/core/HLE/D3D8/XbPushBuffer.cpp index b832cfb17..ee38dcfd5 100644 --- a/src/core/HLE/D3D8/XbPushBuffer.cpp +++ b/src/core/HLE/D3D8/XbPushBuffer.cpp @@ -240,8 +240,6 @@ void HLE_draw_inline_array(NV2AState *d) using namespace XTL; - CxbxUpdateNativeD3DResources(); - //DWORD vertex data array, //To be used as a replacement for DrawVerticesUP, the caller needs to set the vertex format using IDirect3DDevice8::SetVertexShader before calling BeginPush. All attributes in the vertex format must be padded DWORD multiples, and the vertex attributes must be specified in the canonical FVF ordering (position followed by weight, normal, diffuse, and so on). // retrieve vertex shader