Merge pull request #2389 from medievil1/upsteam-master

This commit is contained in:
PatrickvL 2022-08-26 22:26:56 +02:00 committed by GitHub
commit 42ff76ce0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -556,6 +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)
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;
}
}
}
}