Commit 26dd1ed0 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Get rid of the SHADER_LIMITS typedef.

parent 00a5f385
...@@ -2557,7 +2557,8 @@ typedef struct local_constant { ...@@ -2557,7 +2557,8 @@ typedef struct local_constant {
DWORD value[4]; DWORD value[4];
} local_constant; } local_constant;
typedef struct SHADER_LIMITS { struct wined3d_shader_limits
{
unsigned int temporary; unsigned int temporary;
unsigned int texcoord; unsigned int texcoord;
unsigned int sampler; unsigned int sampler;
...@@ -2569,7 +2570,7 @@ typedef struct SHADER_LIMITS { ...@@ -2569,7 +2570,7 @@ typedef struct SHADER_LIMITS {
unsigned int packed_input; unsigned int packed_input;
unsigned int attributes; unsigned int attributes;
unsigned int label; unsigned int label;
} SHADER_LIMITS; };
#ifdef __GNUC__ #ifdef __GNUC__
#define PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args))) #define PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args)))
...@@ -2606,7 +2607,7 @@ struct wined3d_pixel_shader ...@@ -2606,7 +2607,7 @@ struct wined3d_pixel_shader
struct wined3d_shader struct wined3d_shader
{ {
LONG ref; LONG ref;
SHADER_LIMITS limits; struct wined3d_shader_limits limits;
DWORD *function; DWORD *function;
UINT functionLength; UINT functionLength;
BOOL load_local_constsF; BOOL load_local_constsF;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment