]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.cpp
Compatibility changes for building on OS X 10.5
[libs/gui.git] / source / graphics / videomode.cpp
index 5c9e821449c14b966b75562da13417fdcea615e8..b3ca948fb1f86b5161ed4fd4466eb3f3bd19ca71 100644 (file)
@@ -10,17 +10,21 @@ unsupported_video_mode::unsupported_video_mode(const VideoMode &mode):
 
 
 VideoMode::VideoMode():
+       index(0),
        monitor(0),
        width(0),
        height(0),
-       rate(0)
+       rate(0),
+       rotation(ROTATE_ANY)
 { }
 
 VideoMode::VideoMode(unsigned w, unsigned h):
+       index(0),
        monitor(0),
        width(w),
        height(h),
-       rate(0)
+       rate(0),
+       rotation(ROTATE_ANY)
 { }
 
 } // namespace Graphics