source/Display/DisplayMode.cpp: initialize bpp to zero.
This commit is contained in:
parent
3f38286049
commit
c2b0d73888
1 changed files with 2 additions and 2 deletions
|
|
@ -22,14 +22,14 @@ struct DisplayModeCmp
|
|||
DisplayMode::DisplayMode() :
|
||||
width (0),
|
||||
height (0),
|
||||
bpp (32)
|
||||
bpp (0)
|
||||
{
|
||||
}
|
||||
|
||||
DisplayMode::DisplayMode(unsigned int width, unsigned int height, unsigned int bpp) :
|
||||
width (width),
|
||||
height (height),
|
||||
bpp (bpp)
|
||||
bpp (bpp)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue