diff --git a/dlls/d3d10/d3d10_private.h b/dlls/d3d10/d3d10_private.h index 6f752956951..5700b86c08b 100644 --- a/dlls/d3d10/d3d10_private.h +++ b/dlls/d3d10/d3d10_private.h @@ -236,7 +236,7 @@ struct d3d10_effect DWORD technique_count; DWORD index_offset; DWORD texture_count; - DWORD dephstencilstate_count; + DWORD depthstencilstate_count; DWORD blendstate_count; DWORD rasterizerstate_count; DWORD samplerstate_count; diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index 2adbc08061e..ff00aa12c99 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -2228,8 +2228,8 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s read_dword(&ptr, &e->texture_count); TRACE("Texture count: %u\n", e->texture_count); - read_dword(&ptr, &e->dephstencilstate_count); - TRACE("Depthstencilstate count: %u\n", e->dephstencilstate_count); + read_dword(&ptr, &e->depthstencilstate_count); + TRACE("Depthstencilstate count: %u\n", e->depthstencilstate_count); read_dword(&ptr, &e->blendstate_count); TRACE("Blendstate count: %u\n", e->blendstate_count);