summaryrefslogtreecommitdiffstats
path: root/src/core/PlayerSkin.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-09 20:40:46 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-09 20:40:46 +0200
commita5239b554fa13aaf0ffa5ee850402f71cd680d29 (patch)
tree47ac7800bd86e5674fee2b6fc3a797647570e6cb /src/core/PlayerSkin.cpp
parentMerge pull request #393 from Sergeanur/txdimg (diff)
parentPS2 Cheats, restored R*names (diff)
downloadre3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar
re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar.gz
re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar.bz2
re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar.lz
re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar.xz
re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar.zst
re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.zip
Diffstat (limited to 'src/core/PlayerSkin.cpp')
-rw-r--r--src/core/PlayerSkin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/PlayerSkin.cpp b/src/core/PlayerSkin.cpp
index bf780666..28879918 100644
--- a/src/core/PlayerSkin.cpp
+++ b/src/core/PlayerSkin.cpp
@@ -106,7 +106,9 @@ CPlayerSkin::GetSkinTexture(const char *texName)
tex = RwTextureCreate(raster);
RwTextureSetName(tex, texName);
+#ifdef FIX_BUGS
RwTextureSetFilterMode(tex, rwFILTERLINEAR); // filtering bugfix from VC
+#endif
RwTexDictionaryAddTexture(CTxdStore::GetSlot(m_txdSlot)->texDict, tex);
RwImageDestroy(image);