mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
ARB prog: Update generated files missed on previous two commits
The changes are, as it turns out, purely cosmetic.
This commit is contained in:
parent
6d3ccaf366
commit
be32fb779b
2 changed files with 2 additions and 6 deletions
|
|
@ -3521,10 +3521,6 @@ _mesa_program_lexer_ctor(void **scanner, struct asm_parser_state *state,
|
|||
void
|
||||
_mesa_program_lexer_dtor(void *scanner)
|
||||
{
|
||||
/* FINISHME: It's not clear to me whether or not the buffer state returned
|
||||
* FINISHME: by yy_scan_bytes in _mesa_program_lexer_ctor needs to be
|
||||
* FINISHME: explicitly destroyed here or not.
|
||||
*/
|
||||
yylex_destroy(scanner);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4966,7 +4966,7 @@ _mesa_parse_arb_program(GLcontext *ctx, GLenum target, const GLubyte *str,
|
|||
|
||||
|
||||
if (ctx->Program.ErrorPos != -1) {
|
||||
goto error;
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (! _mesa_layout_parameters(state)) {
|
||||
|
|
@ -5028,7 +5028,7 @@ error:
|
|||
for (sym = state->sym; sym != NULL; sym = temp) {
|
||||
temp = sym->next;
|
||||
|
||||
_mesa_free(sym->name);
|
||||
_mesa_free((void *) sym->name);
|
||||
_mesa_free(sym);
|
||||
}
|
||||
state->sym = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue