mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-07-12 17:31:06 +00:00
Fix uniforms overriding eachother
This commit is contained in:
parent
477c197d9b
commit
afc2bcc934
1 changed files with 0 additions and 2 deletions
|
|
@ -1153,7 +1153,6 @@ static void gfx_d3d11_draw_triangles(float buf_vbo[], size_t buf_vbo_len, size_t
|
|||
}
|
||||
|
||||
d3d.context->VSSetConstantBuffers(0, 1, d3d.shader_program->vertexConstantBuffer.GetAddressOf());
|
||||
d3d.context->PSSetConstantBuffers(0, 1, d3d.shader_program->vertexConstantBuffer.GetAddressOf());
|
||||
}
|
||||
|
||||
// Set fragment uniform buffers
|
||||
|
|
@ -1168,7 +1167,6 @@ static void gfx_d3d11_draw_triangles(float buf_vbo[], size_t buf_vbo_len, size_t
|
|||
d3d.context->Unmap(d3d.shader_program->fragmentConstantBuffer.Get(), 0);
|
||||
}
|
||||
|
||||
d3d.context->VSSetConstantBuffers(0, 1, d3d.shader_program->fragmentConstantBuffer.GetAddressOf());
|
||||
d3d.context->PSSetConstantBuffers(0, 1, d3d.shader_program->fragmentConstantBuffer.GetAddressOf());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue