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:
averne 2022-02-04 21:26:00 +01:00 committed by Dudemanguy
parent 4fbc3ad399
commit 3e351a41e2
1 changed files with 1 additions and 0 deletions

View File

@ -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,
};