[PATCH 1/5] d3dcompiler: Remove shader_type typedef.
Matteo Bruni
mbruni at codeweavers.com
Tue May 8 09:17:29 CDT 2012
---
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;
--
1.7.3.4
More information about the wine-patches
mailing list