Skip to content

Commit

Permalink
fixup! Implement InitD3dRendering
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Oct 25, 2023
1 parent 54b1ec1 commit 1acb04a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,22 +279,20 @@ i32 InitD3dRendering(void)
GameErrorContextLog(&g_GameErrorContext, TH_USING_REF_MODE);
g_GameContext.hasD3dHardwareVertexProcessing = 0;
using_d3d_hal = 0;
break;
}
}
else
{
GameErrorContextLog(&g_GameErrorContext, TH_USING_HAL_MODE);
g_GameContext.hasD3dHardwareVertexProcessing = 0;
break;
}
}
else
{
GameErrorContextLog(&g_GameErrorContext, TH_USING_TL_HAL_MODE);
g_GameContext.hasD3dHardwareVertexProcessing = 1;
break;
}
break;
}
}

Expand Down

0 comments on commit 1acb04a

Please sign in to comment.