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/VideoCommon/PixelShaderManager.cpp | |
| 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/VideoCommon/PixelShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderManager.cpp b/Source/Core/VideoCommon/PixelShaderManager.cpp index 694f78e68f..77d92d0156 100644 --- a/Source/Core/VideoCommon/PixelShaderManager.cpp +++ b/Source/Core/VideoCommon/PixelShaderManager.cpp @@ -134,7 +134,7 @@ void PixelShaderManager::SetDestAlpha() dirty = true; } -void PixelShaderManager::SetTexDims(int texmapid, u32 width, u32 height, u32 wraps, u32 wrapt) +void PixelShaderManager::SetTexDims(int texmapid, u32 width, u32 height) { // TODO: move this check out to callee. There we could just call this function on texture changes // or better, use textureSize() in glsl |
