Merge pull request #57537 from noidexe/fix-theora-video-playback

This commit is contained in:
Rémi Verschelde 2022-02-02 09:07:59 +01:00 committed by GitHub
commit 232bf54a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 */