Преглед изворни кода

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

AzaezelX пре 1 година
родитељ
комит
1f837304ea
1 измењених фајлова са 1 додато и 1 уклоњено
  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.
 /// Profile for the video texture.
 GFX_ImplementTextureProfile(  GFXTheoraTextureProfile,
 GFX_ImplementTextureProfile(  GFXTheoraTextureProfile,
                               GFXTextureProfile::DiffuseMap,
                               GFXTextureProfile::DiffuseMap,
-                              GFXTextureProfile::NoMipmap | GFXTextureProfile::Dynamic,
+                              GFXTextureProfile::NoMipmap | GFXTextureProfile::Dynamic | GFXTextureProfile::PreserveSize,
                               GFXTextureProfile::NONE );
                               GFXTextureProfile::NONE );