Skip to content

Commit

Permalink
(D3D9 HLSL) Set this parameter to 0 to indicate we are using
Browse files Browse the repository at this point in the history
vertex declarations instead of FVFs
  • Loading branch information
inactive123 committed Apr 22, 2022
1 parent 90f53bf commit a25fabd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gfx/drivers/d3d9hlsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1052,11 +1052,7 @@ static bool d3d9_hlsl_initialize(
d3d->menu_display.buffer = d3d9_vertex_buffer_new(
d3d->dev, d3d->menu_display.size * sizeof(Vertex),
D3DUSAGE_WRITEONLY,
#ifdef _XBOX
0,
#else
D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1,
#endif
D3DPOOL_DEFAULT,
NULL);

Expand Down

0 comments on commit a25fabd

Please sign in to comment.