From 4e2a8a3cdb0162399fd50486b057e646ed86ff66 Mon Sep 17 00:00:00 2001 From: GeniusMage Date: Wed, 21 Mar 2018 09:58:47 +0100 Subject: [PATCH] Teepo fix 2D isn't always > 3D --- rpcs3/Emu/RSX/RSXTexture.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/RSX/RSXTexture.cpp b/rpcs3/Emu/RSX/RSXTexture.cpp index fea2121960..9c26e6bb60 100644 --- a/rpcs3/Emu/RSX/RSXTexture.cpp +++ b/rpcs3/Emu/RSX/RSXTexture.cpp @@ -68,7 +68,7 @@ namespace rsx switch (dimension()) { case rsx::texture_dimension::dimension1d: return rsx::texture_dimension_extended::texture_dimension_1d; - case rsx::texture_dimension::dimension3d: return rsx::texture_dimension_extended::texture_dimension_2d; + case rsx::texture_dimension::dimension3d: return rsx::texture_dimension_extended::texture_dimension_3d; case rsx::texture_dimension::dimension2d: return cubemap() ? rsx::texture_dimension_extended::texture_dimension_cubemap : rsx::texture_dimension_extended::texture_dimension_2d; default: ASSUME(0); @@ -350,7 +350,7 @@ namespace rsx switch (dimension()) { case rsx::texture_dimension::dimension1d: return rsx::texture_dimension_extended::texture_dimension_1d; - case rsx::texture_dimension::dimension3d: return rsx::texture_dimension_extended::texture_dimension_2d; + case rsx::texture_dimension::dimension3d: return rsx::texture_dimension_extended::texture_dimension_3d; case rsx::texture_dimension::dimension2d: return cubemap() ? rsx::texture_dimension_extended::texture_dimension_cubemap : rsx::texture_dimension_extended::texture_dimension_2d; default: ASSUME(0); @@ -498,4 +498,4 @@ namespace rsx { return registers[NV4097_SET_VERTEX_TEXTURE_CONTROL3 + (m_index * 8)] & 0xfffff; } -} \ No newline at end of file +}