From 941b00b9bbbb447eedf86d04c609bb67479253b4 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Thu, 7 Feb 2013 01:41:52 +0000 Subject: [PATCH] - remove 8 bit color as a selectable options in UI --- .../sources/platform/common/platform_common.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/shared_lib/sources/platform/common/platform_common.cpp b/source/shared_lib/sources/platform/common/platform_common.cpp index 721cdb59b..2258e36da 100644 --- a/source/shared_lib/sources/platform/common/platform_common.cpp +++ b/source/shared_lib/sources/platform/common/platform_common.cpp @@ -1558,10 +1558,10 @@ void getFullscreenVideoModes(vector *modeinfos, bool isFullscreen) { format.BitsPerPixel = 16; bpp = 16; break; - case 3://8 bpp - format.BitsPerPixel = 8; - bpp = 8; - break; +// case 3://8 bpp +// format.BitsPerPixel = 8; +// bpp = 8; +// break; } /* Get available fullscreen/hardware modes */ @@ -1716,7 +1716,8 @@ void getFullscreenVideoModes(vector *modeinfos, bool isFullscreen) { } } } - } while(++loops != 4); + //} while(++loops != 4); + } while(++loops != 3); std::sort(modeinfos->begin(),modeinfos->end()); }