width = wd;
height = ht;
samples = sm;
+ n_levels = 1;
allocate();
}
throw invalid_operation("Texture2DMultisample::image");
}
-uint64_t Texture2DMultisample::get_data_size() const
-{
- return id ? width*height*get_pixel_size(format)*samples : 0;
-}
-
} // namespace GL
} // namespace Msp