From 586a46bb78ef51b9246361866c0c358cdfb1da1d Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Mon, 24 Feb 2025 23:08:22 +0200 Subject: [PATCH] Remove last reference to gbPixelDepth --- Editor/editscreen.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Editor/editscreen.cpp b/Editor/editscreen.cpp index 64eba6c4..563561ed 100644 --- a/Editor/editscreen.cpp +++ b/Editor/editscreen.cpp @@ -1069,10 +1069,7 @@ void ShowCurrentDrawingMode( void ) // Set the color for the window's border. Blueish color = Normal, Red = Fake lighting is turned on usFillColor = GenericButtonFillColors[0]; pDestBuf = LockVideoSurface( FRAME_BUFFER, &uiDestPitchBYTES ); - if(gbPixelDepth==16) - RectangleDraw( FALSE, iScreenWidthOffset + 0, 2 * iScreenHeightOffset + 400, iScreenWidthOffset + 99, 2 * iScreenHeightOffset + 458, usFillColor, pDestBuf ); - else if(gbPixelDepth==8) - RectangleDraw8( FALSE, iScreenWidthOffset + 0, 2 * iScreenHeightOffset + 400, iScreenWidthOffset + 99, 2 * iScreenHeightOffset + 458, usFillColor, pDestBuf ); + RectangleDraw( FALSE, iScreenWidthOffset + 0, 2 * iScreenHeightOffset + 400, iScreenWidthOffset + 99, 2 * iScreenHeightOffset + 458, usFillColor, pDestBuf ); UnLockVideoSurface( FRAME_BUFFER );