Update native, setting ATIClampBug on Tegra as it has the same behaviour.

Fixes black screen in GTA on Tegra.
This commit is contained in:
Henrik Rydgard 2013-12-21 13:47:23 +01:00
parent 9e109e16d9
commit fe472b4255
2 changed files with 3 additions and 2 deletions

View file

@ -512,7 +512,6 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
}
if (!g_Config.bMipMap || noMip) {
magFilt &= 1;
minFilt &= 1;
}
@ -526,6 +525,8 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
}
// Workaround for a clamping bug in pre-HD ATI/AMD drivers
// Applies to Tegra too apparently. Maybe the issue is that we can't wrap non-pow2 textures on these
// platforms, if so then we should change the name of this bool.
if (gl_extensions.ATIClampBug && entry.framebuffer)
return;

2
native

@ -1 +1 @@
Subproject commit ecd364d85484303a61a45d8b7e2aef5f170714f1
Subproject commit 6670d0003a1960244993145703cd26c732b1c435