libobs-d3d11: Actually use paired NV12 member variable

master
jp9000 2019-02-17 17:41:06 -08:00
parent e09c63914e
commit 86f82c952a
1 changed files with 3 additions and 0 deletions

View File

@ -2220,6 +2220,9 @@ extern "C" EXPORT bool device_texture_create_nv12(gs_device_t *device,
return false;
}
tex_y->pairedNV12texture = tex_uv;
tex_uv->pairedNV12texture = tex_y;
*p_tex_y = tex_y;
*p_tex_uv = tex_uv;
return true;