diff options
| author | degasus <wickmarkus@web.de> | 2015-03-01 13:04:48 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-03-02 00:09:09 +0100 |
| commit | 35373c5185d586602a44c51544f85fb6acde10f1 (patch) | |
| tree | 0c58693ca9355db8bbd1542fe5dc71cadf2d3e9e /Source/Core/VideoBackends/OGL/SamplerCache.h | |
| parent | 8c46bd2d1df048d23479fc3e9e4aa8262cfb6c66 (diff) | |
TextureCache: load all mipmap levels from custom textures
This drops the "feature" to load level 0 from the custom texture
and all other levels from the native one if the size matches.
But in my opinion, when a custom texture only provide one level,
no more should be used at all.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/SamplerCache.h')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/SamplerCache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/SamplerCache.h b/Source/Core/VideoBackends/OGL/SamplerCache.h index f8e77a0b93..ec033bd6be 100644 --- a/Source/Core/VideoBackends/OGL/SamplerCache.h +++ b/Source/Core/VideoBackends/OGL/SamplerCache.h @@ -14,7 +14,7 @@ public: SamplerCache(); ~SamplerCache(); - void SetSamplerState(int stage, const TexMode0& tm0, const TexMode1& tm1); + void SetSamplerState(int stage, const TexMode0& tm0, const TexMode1& tm1, bool custom_tex); void Clear(); private: |
