diff options
author | michal <michal@michal-laptop.(none)> | 2007-08-29 22:24:42 +0100 |
---|---|---|
committer | michal <michal@michal-laptop.(none)> | 2007-08-29 22:35:28 +0100 |
commit | 6468e68466bfdf93cafafc78d37a156e96af229c (patch) | |
tree | 809581af9db54c095513faa762ffbec8768fb4ec /src | |
parent | 86fe5f235b174e2aedd02bc14a94df818bc3ea74 (diff) |
Break GL dependencies.
Diffstat (limited to 'src')
-rwxr-xr-x[-rw-r--r--] | src/mesa/pipe/tgsi/exec/tgsi_parse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_parse.c b/src/mesa/pipe/tgsi/exec/tgsi_parse.c index a6724d762c7..1096afffadf 100644..100755 --- a/src/mesa/pipe/tgsi/exec/tgsi_parse.c +++ b/src/mesa/pipe/tgsi/exec/tgsi_parse.c @@ -12,8 +12,9 @@ void tgsi_full_token_free( union tgsi_full_token *full_token ) { - if( full_token->Token.Type == TGSI_TOKEN_TYPE_IMMEDIATE ) + if( full_token->Token.Type == TGSI_TOKEN_TYPE_IMMEDIATE ) { free( full_token->FullImmediate.u.Pointer ); + } } unsigned @@ -49,7 +50,7 @@ tgsi_parse_free( tgsi_full_token_free( &ctx->FullToken ); } -GLuint +boolean tgsi_parse_end_of_tokens( struct tgsi_parse_context *ctx ) { |