Henri Verbeet : d3d8: Get rid of the wined3d_usage_t typedef.
Alexandre Julliard
julliard at winehq.org
Thu May 24 14:58:13 CDT 2012
Module: wine
Branch: master
Commit: d521e6c287f9df2d3329396932890f99272f1468
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d521e6c287f9df2d3329396932890f99272f1468
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu May 24 18:27:43 2012 +0200
d3d8: Get rid of the wined3d_usage_t typedef.
---
dlls/d3d8/vertexdeclaration.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/d3d8/vertexdeclaration.c b/dlls/d3d8/vertexdeclaration.c
index 3675deb..2277be4 100644
--- a/dlls/d3d8/vertexdeclaration.c
+++ b/dlls/d3d8/vertexdeclaration.c
@@ -226,12 +226,12 @@ static const enum wined3d_format_id wined3d_format_lookup[] =
/*WINED3DDECLTYPE_FLOAT16_4*/ WINED3DFMT_R16G16B16A16_FLOAT,
};
-typedef struct {
+static const struct
+{
BYTE usage;
BYTE usage_idx;
-} wined3d_usage_t;
-
-static const wined3d_usage_t wined3d_usage_lookup[] =
+}
+wined3d_usage_lookup[] =
{
/* D3DVSDE_POSITION */ {WINED3D_DECL_USAGE_POSITION, 0},
/* D3DVSDE_BLENDWEIGHT */ {WINED3D_DECL_USAGE_BLEND_WEIGHT, 0},
More information about the wine-cvs
mailing list