diff options
| author | Andre Weissflog <floooh@gmail.com> | 2023-02-19 17:21:49 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2023-02-19 17:21:49 +0100 |
| commit | 74115e51793ae694d91196d99ac8b5e794f7afef (patch) | |
| tree | 40a86aa13d619927f43a5436a9fa63f3b444e20e | |
| parent | 4cf4cff09c3d91c2852768972b211c47a44f501c (diff) | |
sokol_gfx.h d3d11: fix build
| -rw-r--r-- | sokol_gfx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h index 63efd906..6300382b 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -9719,9 +9719,9 @@ _SOKOL_PRIVATE sg_resource_state _sg_d3d11_create_pipeline(_sg_pipeline_t* pip, rs_desc.FillMode = D3D11_FILL_SOLID; rs_desc.CullMode = _sg_d3d11_cull_mode(desc->cull_mode); rs_desc.FrontCounterClockwise = desc->face_winding == SG_FACEWINDING_CCW; - rs_desc.DepthBias = (INT) pip->cmn.depth_bias; - rs_desc.DepthBiasClamp = pip->cmn.depth_bias_clamp; - rs_desc.SlopeScaledDepthBias = pip->cmn.depth_bias_slope_scale; + rs_desc.DepthBias = (INT) pip->cmn.depth.bias; + rs_desc.DepthBiasClamp = pip->cmn.depth.bias_clamp; + rs_desc.SlopeScaledDepthBias = pip->cmn.depth.bias_slope_scale; rs_desc.DepthClipEnable = TRUE; rs_desc.ScissorEnable = TRUE; rs_desc.MultisampleEnable = desc->sample_count > 1; |