💚 Fix debug builds

This the change from 8e07ef8fe5.
This commit is contained in:
Anders Jenbo 2021-06-27 17:34:32 +02:00
commit f0e5bd819b
6 changed files with 20 additions and 20 deletions

View file

@ -168,7 +168,7 @@ static void InitCutscene(interface_mode uMsg)
static void DrawCutscene()
{
lock_buf();
lock_buf(1);
const CelOutputBuffer &out = GlobalBackBuffer();
DrawArt(out, PANEL_X - (ArtCutsceneWidescreen.w() - PANEL_WIDTH) / 2, UI_OFFSET_Y, &ArtCutsceneWidescreen);
CelDrawTo(out, { PANEL_X, 480 - 1 + UI_OFFSET_Y }, *sgpBackCel, 1);
@ -181,7 +181,7 @@ static void DrawCutscene()
ProgressHeight);
SDL_FillRect(out.surface, &rect, BarColor[progress_id]);
unlock_buf();
unlock_buf(1);
BltFast(&rect, &rect);
RenderPresent();