From 69e30d91eed2310d2bf25041e84ec3a0277b7971 Mon Sep 17 00:00:00 2001 From: Lisandro Lorea Date: Tue, 1 Feb 2022 23:54:36 -0300 Subject: [PATCH] Fix "texture not initialized" error preventing video from playing Closes #57153 --- modules/theora/video_stream_theora.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/theora/video_stream_theora.cpp b/modules/theora/video_stream_theora.cpp index 9d297fcb93ff..a9652cbba1bd 100644 --- a/modules/theora/video_stream_theora.cpp +++ b/modules/theora/video_stream_theora.cpp @@ -337,6 +337,7 @@ void VideoStreamPlaybackTheora::set_file(const String &p_file) { Ref img; img.instantiate(); img->create(w, h, false, Image::FORMAT_RGBA8); + texture->create_from_image(img); } else { /* tear down the partial theora setup */