bump BRender dependency

This commit is contained in:
Dethrace Labs 2025-03-30 22:56:35 -07:00
parent ca1ef76e7f
commit 1af5438b63
2 changed files with 6 additions and 4 deletions

@ -1 +1 @@
Subproject commit ee344356e359d9b9b310dda08e3be672da9b7f01
Subproject commit 89861762c3e0743eed484ef5dace8e882ecd1289

View File

@ -590,13 +590,15 @@ tRace_result MainGameLoop(void) {
EnterUserMessage();
SkidsPerFrame();
if (!gWait_for_it) {
#if defined(DETHRACE_3DFX_PATCH) && defined(DETHRACE_FIX_BUGS)
#if defined(DETHRACE_FIX_BUGS)
// Fixes issue where returning to race mode from the UI shows 2d elements in the wrong colors for half a second.
// In 3dfx mode, 2d elements are rendered using `Copy8BitTo16BitRectangleWithTransparency` which uses
// `gCurrent_palette` to convert 8 bit to 16 bit pixels. `gCurrent_palette` is still set to the interface palette here
// I couldn't confirm why this does not happen in the original 3dfx executable (or does it?)
EnsureRenderPalette();
EnsurePaletteUp();
if (harness_game_config.opengl_3dfx_mode) {
EnsureRenderPalette();
EnsurePaletteUp();
}
#endif
RenderAFrame(1);
}