summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-02 09:07:59 +0100
committerGitHub <noreply@github.com>2022-02-02 09:07:59 +0100
commit232bf54a6875d16653e6913355a72d55cb9daf08 (patch)
tree11d3db8798dddc3ceb5aeaac7f3b9782a2fc3334 /modules
parent7ed7bf1fa7454655776b71f4c78605024111cc0a (diff)
parent69e30d91eed2310d2bf25041e84ec3a0277b7971 (diff)
Merge pull request #57537 from noidexe/fix-theora-video-playback
Diffstat (limited to 'modules')
-rw-r--r--modules/theora/video_stream_theora.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/theora/video_stream_theora.cpp b/modules/theora/video_stream_theora.cpp
index 9d297fcb93..a9652cbba1 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<Image> img;
img.instantiate();
img->create(w, h, false, Image::FORMAT_RGBA8);
+ texture->create_from_image(img);
} else {
/* tear down the partial theora setup */