mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 10:30:23 +01:00
gallium: don't free shader.tokens in get_passthrough_fs()
This commit is contained in:
parent
2a39dbe736
commit
f763cc3cb5
1 changed files with 2 additions and 0 deletions
|
|
@ -262,7 +262,9 @@ get_passthrough_fs(struct st_context *st)
|
|||
if (!st->passthrough_fs) {
|
||||
st->passthrough_fs =
|
||||
util_make_fragment_passthrough_shader(st->pipe, &shader);
|
||||
#if 0 /* We actually need to keep the tokens around at this time */
|
||||
free((void *) shader.tokens);
|
||||
#endif
|
||||
}
|
||||
|
||||
return st->passthrough_fs;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue