From 1f837304ea6a8e7207e9b1a562f235ca0fde2258 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Tue, 19 Dec 2023 13:15:12 -0600 Subject: [PATCH] theoratexture can't downsample so don't. this stops $pref::Video::textureReductionLevel from crashing the applicaton in that scenario --- Engine/source/gfx/video/theoraTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/gfx/video/theoraTexture.cpp b/Engine/source/gfx/video/theoraTexture.cpp index 1b85837b7..e69958d80 100644 --- a/Engine/source/gfx/video/theoraTexture.cpp +++ b/Engine/source/gfx/video/theoraTexture.cpp @@ -59,7 +59,7 @@ /// Profile for the video texture. GFX_ImplementTextureProfile( GFXTheoraTextureProfile, GFXTextureProfile::DiffuseMap, - GFXTextureProfile::NoMipmap | GFXTextureProfile::Dynamic, + GFXTextureProfile::NoMipmap | GFXTextureProfile::Dynamic | GFXTextureProfile::PreserveSize, GFXTextureProfile::NONE );