This commit is contained in:
jojo61 2018-12-11 19:31:14 +01:00
parent 56ee6f0cec
commit 3d183b0fdc
1 changed files with 2 additions and 1 deletions

View File

@ -3562,7 +3562,7 @@ static void CuvidMixVideo(CuvidDecoder * decoder, int level)
return;
decoder->newchannel = 0;
pl_tex_clear(p->gpu,target->fbo,(float[4]){0});
if (!pl_render_image(p->renderer, &decoder->pl_images[current], target, &render_params)) {
Fatal(_("Failed rendering frame!\n"));
}
@ -3723,6 +3723,7 @@ static void CuvidDisplayFrame(void)
// target.repr.bits.color_depth = 16;
// target.repr.bits.bit_shift =0;
pl_tex_clear(p->gpu,target.fbo,(float[4]){0});
switch (VulkanTargetColorSpace) {
case 0:
memcpy(&target.color,&pl_color_space_monitor,sizeof(struct pl_color_space));