mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 08:28:21 +02:00
reset error state before parsing (David Reveman)
This commit is contained in:
parent
253204f9f0
commit
7f76b8ffd1
1 changed files with 3 additions and 0 deletions
|
|
@ -3762,6 +3762,9 @@ _mesa_parse_arb_program (GLcontext * ctx, const GLubyte * str, GLsizei len,
|
|||
GLubyte *strz = NULL;
|
||||
static int arbprogram_syn_is_ok = 0; /* XXX temporary */
|
||||
|
||||
/* Reset error state */
|
||||
_mesa_set_program_error(ctx, -1, NULL);
|
||||
|
||||
#if DEBUG_PARSING
|
||||
fprintf (stderr, "Loading grammar text!\n");
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue