X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2dmultisample.cpp;h=ce35bdb795afb5487c226856eabf94b9f945d316;hb=6cee6c490ded0981c4da3f9f4ec74a41555e1a4e;hp=5ea37e90e3d82e81f2674f94691f2051c25f1a69;hpb=160e9eea29bd10034733d59507fa1bcca36be401;p=libs%2Fgl.git diff --git a/source/core/texture2dmultisample.cpp b/source/core/texture2dmultisample.cpp index 5ea37e90..ce35bdb7 100644 --- a/source/core/texture2dmultisample.cpp +++ b/source/core/texture2dmultisample.cpp @@ -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");