mirror of https://github.com/mpv-player/mpv
vo_gpu: placebo: keep track of texture sample mode
This fixes an issue where dithering was effectively broken on libplacebo versions >= 103 because the dither texture was being sampled with edge-clamped rather than repeating semantics.
This commit is contained in:
parent
5824d9fff8
commit
6265724f33
|
@ -189,6 +189,10 @@ static struct ra_tex *tex_create_pl(struct ra *ra,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
// Keep track of these, so we can correctly bind them later
|
||||
ratex->params.src_repeat = params->src_repeat;
|
||||
ratex->params.src_linear = params->src_linear;
|
||||
|
||||
return ratex;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue