Skip to content

Commit e796327

Browse files
committed
remove platform-specific background colors
defaults to a dark gray
1 parent 4cbf1ea commit e796327

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

src/RootDisplay.cpp

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,8 @@ RootDisplay::RootDisplay()
5959
// set the display scale on high resolution displays
6060
RootDisplay::dpiScale = CST_GetDpiScale();
6161

62-
// set platform-specific default background colors, (which can be overridden)
63-
#if defined(__WIIU__) || defined(WIIU_MOCK)
64-
this->backgroundColor = fromRGB(0x20 - 0x10, 154 - 0x10, 199 - 0x10);
65-
#elif defined(WII) || defined(WII_MOCK)
66-
// the system wii gray
67-
this->backgroundColor = fromRGB(0x8b, 0x8b, 0x8b);
68-
#elif defined(_3DS) || defined(_3DS_MOCK)
62+
// default background color is dark-gray, can be overridden by the implementing library
6963
this->backgroundColor = fromRGB(30, 30, 30);
70-
#elif defined(SWITCH) || defined(SWITCH_MOCK)
71-
this->backgroundColor = fromRGB(0xd6, 0x0 + 0x20, 0x12 + 0x20);
72-
#else
73-
this->backgroundColor = fromRGB(0x2d, 0x26, 0x49);
74-
#endif
7564

7665
// set starting resolution based on SDL version
7766
#if defined(WII) || defined(WII_MOCK)

0 commit comments

Comments
 (0)