Browse Source

theoratexture can't downsample
so don't.
this stops $pref::Video::textureReductionLevel from crashing the applicaton in that scenario

AzaezelX 1 year ago
parent
commit
1f837304ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/gfx/video/theoraTexture.cpp

+ 1 - 1
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 );