From 747493878a5c4a0f2f83a326f7f95a8e0e703d0f Mon Sep 17 00:00:00 2001 From: stpohle Date: Sat, 26 Apr 2003 23:56:02 +0000 Subject: [PATCH] Bits Per Pixel -- add 24 bit --- src/configuration.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/configuration.c b/src/configuration.c index f73dcce..751fdd6 100644 --- a/src/configuration.c +++ b/src/configuration.c @@ -232,6 +232,8 @@ change_res () if (gfx.bpp == 16) sprintf (menu[5].text, "16 Bit Per Pixel"); + else if (gfx.bpp == 24) + sprintf (menu[5].text, "24 Bit Per Pixel"); else sprintf (menu[5].text, "32 Bit Per Pixel"); @@ -263,6 +265,8 @@ change_res () break; case (5): if (gfx.bpp == 16) + gfx.bpp = 24; + else if (gfx.bpp == 24) gfx.bpp = 32; else gfx.bpp = 16;