From: michal Date: Wed, 29 Aug 2007 21:24:42 +0000 (+0100) Subject: Break GL dependencies. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6468e68466bfdf93cafafc78d37a156e96af229c;p=mesa.git Break GL dependencies. --- diff --git a/src/mesa/pipe/tgsi/exec/tgsi_parse.c b/src/mesa/pipe/tgsi/exec/tgsi_parse.c old mode 100644 new mode 100755 index a6724d762c7..1096afffadf --- 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 ) {