namespace Msp {
namespace GL {
-Texture2DMultisample::Texture2DMultisample():
- width(0),
- height(0)
-{ }
-
void Texture2DMultisample::storage(PixelFormat fmt, unsigned wd, unsigned ht, unsigned sm)
{
if(width>0)
allocate();
}
+void Texture2DMultisample::image(unsigned, const void *)
+{
+ throw invalid_operation("Texture2DMultisample::image");
+}
+
void Texture2DMultisample::image(const Graphics::Image &, unsigned)
{
throw invalid_operation("Texture2DMultisample::image");