Browse Source

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

AzaezelX 1 năm trước cách đây
mục cha
commit
1f837304ea
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 );