]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/sequence.cpp
Use default member initializers for simple types
[libs/gl.git] / source / render / sequence.cpp
index e0c333dec2b26b679ed0b293063678b9c5b6680d..f2a88a51f760ab6ccc6fc9e5c17062ab460824ae 100644 (file)
@@ -12,24 +12,10 @@ using namespace std;
 namespace Msp {
 namespace GL {
 
-Sequence::Sequence():
-       width(0),
-       height(0),
-       target{0, 0},
-       target_ms(0),
-       clear_enabled(false),
-       clear_depth(1.0f),
-       clear_stencil(0)
-{ }
-
 Sequence::Sequence(unsigned w, unsigned h, const FrameFormat &f):
        width(w),
        height(h),
-       target_format(f),
-       target_ms(0),
-       clear_enabled(false),
-       clear_depth(1.0f),
-       clear_stencil(0)
+       target_format(f)
 {
        if(target_format.empty())
                throw invalid_argument("Sequence::Sequence");