diff options
Diffstat (limited to 'dist/Mesa/src/gallium/drivers/nouveau/nvc0/nvc0_video_vp.c')
-rw-r--r-- | dist/Mesa/src/gallium/drivers/nouveau/nvc0/nvc0_video_vp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dist/Mesa/src/gallium/drivers/nouveau/nvc0/nvc0_video_vp.c b/dist/Mesa/src/gallium/drivers/nouveau/nvc0/nvc0_video_vp.c index 33c73750d..07170a0e4 100644 --- a/dist/Mesa/src/gallium/drivers/nouveau/nvc0/nvc0_video_vp.c +++ b/dist/Mesa/src/gallium/drivers/nouveau/nvc0/nvc0_video_vp.c @@ -59,6 +59,7 @@ static void dump_comm_vp(struct nouveau_vp3_decoder *dec, struct comm *comm, u32 static void nvc0_decoder_kick_ref(struct nouveau_vp3_decoder *dec, struct nouveau_vp3_video_buffer *target) { + dec->refs[target->valid_ref].vidbuf = NULL; dec->refs[target->valid_ref].last_used = 0; // debug_printf("Unreffed %p\n", target); } |