浏览代码

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.
 GFX_ImplementTextureProfile(  GFXTheoraTextureProfile,
                               GFXTextureProfile::DiffuseMap,
-                              GFXTextureProfile::NoMipmap | GFXTextureProfile::Dynamic,
+                              GFXTextureProfile::NoMipmap | GFXTextureProfile::Dynamic | GFXTextureProfile::PreserveSize,
                               GFXTextureProfile::NONE );