Navigation Menu

Skip to content

Commit

Permalink
Removed convenience typedef.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 4, 2008
1 parent 2fc5637 commit 7a60727
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mojoshader.c
Expand Up @@ -157,8 +157,6 @@ typedef struct
emit_finalize finalize_emitter;
} Profile;

typedef MOJOSHADER_shaderType ShaderType;

typedef enum
{
RASTOUT_TYPE_POSITION = 0,
Expand Down Expand Up @@ -322,7 +320,7 @@ struct Context
int scratchidx; // current scratch buffer.
int profileid;
const Profile *profile;
ShaderType shader_type;
MOJOSHADER_shaderType shader_type;
uint8 major_ver;
uint8 minor_ver;
DestArgInfo dest_args[1];
Expand Down Expand Up @@ -3038,7 +3036,7 @@ static void state_SETP(Context *ctx)
typedef struct
{
const char *opcode_string;
ShaderType shader_types; // mask of shader types that can use this opcode.
MOJOSHADER_shaderType shader_types; // mask of types that can use opcode.
int arg_tokens;
args_function parse_args;
state_function state;
Expand Down

0 comments on commit 7a60727

Please sign in to comment.