Fixes shadows warnings

This commit is contained in:
Robert Osfield
2016-05-20 13:38:34 +01:00
parent e900ecc4c7
commit ae3ba28fee
6 changed files with 29 additions and 33 deletions

View File

@@ -156,11 +156,12 @@ class OSG_EXPORT GraphicsContext : public Object
refreshRate(0),
colorDepth(0)
{}
ScreenSettings(int width, int height, double refreshRate=0, unsigned int colorDepth=0) :
width(width),
height(height),
refreshRate(refreshRate),
colorDepth(colorDepth)
ScreenSettings(int in_width, int in_height, double in_refreshRate=0, unsigned int in_colorDepth=0) :
width(in_width),
height(in_height),
refreshRate(in_refreshRate),
colorDepth(in_colorDepth)
{}
int width;