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");