mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +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,
|
||||
.w = w,
|
||||
.h = h,
|
||||
.d = 1,
|
||||
.render_dst = true,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user