renderer: use probed params for tex gen

This commit is contained in:
itsmattkc
2022-05-24 14:26:02 -07:00
parent 36e56b4941
commit eca236134b
6 changed files with 15 additions and 42 deletions
+1 -1
View File
@@ -451,7 +451,7 @@ void RenderProcessor::ProcessVideoFootage(TexturePtr destination, const FootageJ
if (!IsCancelled()) {
VideoParams tex_params = decoder->GetParamsForTexture(p);
VideoParams tex_params = stream.video_params();
if (tex_params.is_valid()) {
TexturePtr unmanaged_texture = render_ctx_->CreateTexture(tex_params);