d3d10: Fix a typo in depthstencilstate_count variable name
Andrey Gusev
andrey.goosev at gmail.com
Thu Jun 2 05:13:58 CDT 2016
-------------- next part --------------
From c6f3a8d9bb8142050601ec8305a9040c07fd0f76 Mon Sep 17 00:00:00 2001
Message-Id: <c6f3a8d9bb8142050601ec8305a9040c07fd0f76.1464862348.git.andrey.goosev at gmail.com>
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Thu, 2 Jun 2016 13:12:04 +0300
Subject: [PATCH] d3d10: Fix a typo in depthstencilstate_count variable name
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
dlls/d3d10/d3d10_private.h | 2 +-
dlls/d3d10/effect.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/d3d10/d3d10_private.h b/dlls/d3d10/d3d10_private.h
index 6f75295..5700b86 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 2adbc08..ff00aa1 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);
--
2.5.5
More information about the wine-patches
mailing list