Break GL dependencies.

This commit is contained in:
michal 2007-08-29 22:24:42 +01:00
parent 86fe5f235b
commit 6468e68466

5
src/mesa/pipe/tgsi/exec/tgsi_parse.c Normal file → Executable file
View file

@ -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 )
{