Merge pull request #1889 from LukeUsher/fix-rendertarget-test-case

Fix an issue where with CreateDevice LOG_TEST_CASE
This commit is contained in:
PatrickvL 2020-05-07 22:32:16 +02:00 committed by GitHub
commit f3d7ae61c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2962,7 +2962,7 @@ void Direct3D_CreateDevice_End()
// We fix the situation by calling the Xbox GetRenderTarget function, which immediately after CreateDevice
// WILL always return the Backbuffer!
// Test Case: Shin Megami Tensei: Nine
if (g_pXbox_BackBufferSurface == xbnullptr || g_pXbox_DefaultDepthStencilSurface == xbnullptr) {
if (g_pXbox_BackBufferSurface == xbnullptr && g_pXbox_DefaultDepthStencilSurface == xbnullptr) {
// First, log the test case
LOG_TEST_CASE("Xbox CreateDevice did not call SetRenderTarget");
}