mirror of
https://github.com/mpv-player/mpv
synced 2025-01-26 17:43:33 +00:00
vf_gpu: initialize depth=1 on target textures
According to internal documentation, 2D textures should have d=1. This fixes the correctness of the API usage, not any bug.
This commit is contained in:
parent
4fbc3ad399
commit
3e351a41e2
@ -196,6 +196,7 @@ static struct mp_image *gpu_render_frame(struct mp_filter *f, struct mp_image *i
|
|||||||
.downloadable = true,
|
.downloadable = true,
|
||||||
.w = w,
|
.w = w,
|
||||||
.h = h,
|
.h = h,
|
||||||
|
.d = 1,
|
||||||
.render_dst = true,
|
.render_dst = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user