1
0
Fork 0

source/Display/DisplayMode.cpp: initialize bpp to zero.

This commit is contained in:
Henrik Hautakoski 2020-11-05 12:36:42 +01:00
parent 3f38286049
commit c2b0d73888

View file

@ -22,14 +22,14 @@ struct DisplayModeCmp
DisplayMode::DisplayMode() : DisplayMode::DisplayMode() :
width (0), width (0),
height (0), height (0),
bpp (32) bpp (0)
{ {
} }
DisplayMode::DisplayMode(unsigned int width, unsigned int height, unsigned int bpp) : DisplayMode::DisplayMode(unsigned int width, unsigned int height, unsigned int bpp) :
width (width), width (width),
height (height), height (height),
bpp (bpp) bpp (bpp)
{ {
} }