Skip to content

Commit fbc64a3

Browse files
committed
Fix FVF type
1 parent 6647f4d commit fbc64a3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Resources/BuildNo.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define BUILD_NUMBER 2226
1+
#define BUILD_NUMBER 2227

Wrappers/d3d8/IDirect3DDevice8.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,11 +1516,11 @@ HRESULT m_IDirect3DDevice8::DrawShadersAndScaledSurface()
15161516
ProxyInterface->SetVertexShader(0);
15171517
}
15181518

1519+
// Set vertex declaration
1520+
ProxyInterface->SetVertexShader(D3DFVF_XYZRHW | D3DFVF_TEX1);
1521+
15191522
if (IsScaledResolutionsEnabled())
15201523
{
1521-
// Set vertex declaration
1522-
ProxyInterface->SetVertexShader(D3DFVF_XYZRHW | D3DFVF_TEX1);
1523-
15241524
// Set stream source
15251525
ProxyInterface->SetStreamSource(0, ScaleVertexBuffer, sizeof(CUSTOMVERTEX_TEX1));
15261526

0 commit comments

Comments
 (0)