(D3D9 HLSL) Prevents crash with game frame

This commit is contained in:
twinaphex 2018-05-17 02:17:47 +02:00
parent 62a2af1848
commit 91fc81e76a

View File

@ -594,7 +594,7 @@ static bool hlsl_d3d9_renderchain_create_first_pass(
}
pass.vertex_buf = d3d9_vertex_buffer_new(
dev, 4 * sizeof(Vertex),
dev, 4 * sizeof(struct HLSLVertex),
D3DUSAGE_WRITEONLY,
0,
D3DPOOL_MANAGED,