Matteo Bruni : d3dcompiler: Remove shader_type typedef.
Alexandre Julliard
julliard at winehq.org
Tue May 8 14:16:56 CDT 2012
Module: wine
Branch: master
Commit: 167612aea9a80fe661372d303ac4b61791aed086
URL: http://source.winehq.org/git/wine.git/?a=commit;h=167612aea9a80fe661372d303ac4b61791aed086
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Tue May 8 16:17:29 2012 +0200
d3dcompiler: Remove shader_type typedef.
---
dlls/d3dcompiler_43/d3dcompiler_private.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/d3dcompiler_43/d3dcompiler_private.h b/dlls/d3dcompiler_43/d3dcompiler_private.h
index 8c63dec..5e00d3e 100644
--- a/dlls/d3dcompiler_43/d3dcompiler_private.h
+++ b/dlls/d3dcompiler_43/d3dcompiler_private.h
@@ -44,11 +44,11 @@ const char *debug_d3dcompiler_d3d_blob_part(D3D_BLOB_PART part) DECLSPEC_HIDDEN;
const char *debug_d3dcompiler_shader_variable_class(D3D_SHADER_VARIABLE_CLASS c) DECLSPEC_HIDDEN;
const char *debug_d3dcompiler_shader_variable_type(D3D_SHADER_VARIABLE_TYPE t) DECLSPEC_HIDDEN;
-/* Shader assembler definitions */
-typedef enum _shader_type {
+enum shader_type
+{
ST_VERTEX,
ST_PIXEL,
-} shader_type;
+};
typedef enum BWRITER_COMPARISON_TYPE {
BWRITER_COMPARISON_NONE,
@@ -111,7 +111,7 @@ struct samplerdecl {
#define INSTRARRAY_INITIAL_SIZE 8
struct bwriter_shader {
- shader_type type;
+ enum shader_type type;
/* Shader version selected */
DWORD version;
More information about the wine-cvs
mailing list