mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
gallium: fix shader mem leak
This commit is contained in:
parent
417719c0a6
commit
ac09b0e0eb
1 changed files with 4 additions and 0 deletions
|
|
@ -198,6 +198,10 @@ combined_bitmap_fragment_program(GLcontext *ctx)
|
|||
_mesa_combine_programs(ctx,
|
||||
&bitmap_prog->Base.Base, &stfp->Base.Base);
|
||||
stfp->bitmap_program->bitmap_sampler = sampler;
|
||||
|
||||
/* done with this after combining */
|
||||
st_reference_fragprog(st, &bitmap_prog, NULL);
|
||||
|
||||
#if 0
|
||||
{
|
||||
struct gl_program *p = &stfp->bitmap_program->Base.Base;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue