REMOVE HACK comment
REMOVE extra white space
This commit is contained in:
medievil1 2022-07-17 23:58:16 -04:00
parent 0b76da7c00
commit f570c05e95
1 changed files with 1 additions and 3 deletions

View File

@ -556,14 +556,12 @@ typedef struct s_CxbxPSDef {
EmuLog(LOG_LEVEL::WARNING, "PROJECT2D sampling is used with a cubemap texture - using CUBEMAP sampling instead");
RC.PSTextureModes[i] = PS_TEXTUREMODES_CUBEMAP;
}
// Test-case: MS-033 Crimson Skies (Plane texturing in-game and selection menu)
// HACK: use the TexModeAdjust path to downgrade PS_TEXTUREMODES_DOT_STR_3D to PS_TEXTUREMODES_DOT_STR_CUBE for cube textures.
if (ActiveTextureTypes[i] == xbox::X_D3DRTYPE_CUBETEXTURE && RC.PSTextureModes[i] == PS_TEXTUREMODES_DOT_STR_3D) {
EmuLog(LOG_LEVEL::WARNING, "DOT_STR_3D sampling is used with a cubemap texture - using DOT_STR_CUBE sampling instead");
RC.PSTextureModes[i] = PS_TEXTUREMODES_DOT_STR_CUBE;
}
}
}
}