Skip to content

Commit

Permalink
Fix FVF type
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Jan 13, 2025
1 parent 6647f4d commit fbc64a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Resources/BuildNo.rc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD_NUMBER 2226
#define BUILD_NUMBER 2227
6 changes: 3 additions & 3 deletions Wrappers/d3d8/IDirect3DDevice8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1516,11 +1516,11 @@ HRESULT m_IDirect3DDevice8::DrawShadersAndScaledSurface()
ProxyInterface->SetVertexShader(0);
}

// Set vertex declaration
ProxyInterface->SetVertexShader(D3DFVF_XYZRHW | D3DFVF_TEX1);

if (IsScaledResolutionsEnabled())
{
// Set vertex declaration
ProxyInterface->SetVertexShader(D3DFVF_XYZRHW | D3DFVF_TEX1);

// Set stream source
ProxyInterface->SetStreamSource(0, ScaleVertexBuffer, sizeof(CUSTOMVERTEX_TEX1));

Expand Down

0 comments on commit fbc64a3

Please sign in to comment.