Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 1ba696c

Browse files
committed
Merge branch 'ajaus/allow-setvertexdeclaration-null' into 'main'
[REMIX-3476] Remove unnecessary null input check in SetVertexDeclaration. See merge request lightspeedrtx/bridge-remix-nv!94
2 parents 1cd0068 + f0ed767 commit 1ba696c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/client/d3d9_device.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2408,10 +2408,6 @@ HRESULT Direct3DDevice9Ex_LSS<EnableSync>::SetVertexDeclaration(IDirect3DVertexD
24082408
ZoneScoped;
24092409
LogFunctionCall();
24102410

2411-
if (pDecl == nullptr) {
2412-
return D3DERR_INVALIDCALL;
2413-
}
2414-
24152411
auto* const pLssVtxDecl = bridge_cast<Direct3DVertexDeclaration9_LSS*>(pDecl);
24162412
const UID id = (pLssVtxDecl) ? (UID) pLssVtxDecl->getId() : 0;
24172413
UID currentUID = 0;

0 commit comments

Comments
 (0)