]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture2dmultisample.cpp
Remove support for array size specialization from the engine as well
[libs/gl.git] / source / core / texture2dmultisample.cpp
index 5ea37e90e3d82e81f2674f94691f2051c25f1a69..ce35bdb795afb5487c226856eabf94b9f945d316 100644 (file)
@@ -7,11 +7,6 @@ using namespace std;
 namespace Msp {
 namespace GL {
 
-Texture2DMultisample::Texture2DMultisample():
-       width(0),
-       height(0)
-{ }
-
 void Texture2DMultisample::storage(PixelFormat fmt, unsigned wd, unsigned ht, unsigned sm)
 {
        if(width>0)
@@ -33,6 +28,11 @@ void Texture2DMultisample::storage(PixelFormat fmt, unsigned wd, unsigned ht, un
        allocate();
 }
 
+void Texture2DMultisample::image(unsigned, const void *)
+{
+       throw invalid_operation("Texture2DMultisample::image");
+}
+
 void Texture2DMultisample::image(const Graphics::Image &, unsigned)
 {
        throw invalid_operation("Texture2DMultisample::image");