X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture2darray.h;h=662fbad8c71c7ac8de37fed1280e47062ccaa0f1;hp=21930f882e813a1240b5fe30eda5deb87b2c30f0;hb=160e9eea29bd10034733d59507fa1bcca36be401;hpb=93448d16e72e38afbaecbccf6fdedd46d6a82a73 diff --git a/source/core/texture2darray.h b/source/core/texture2darray.h index 21930f88..662fbad8 100644 --- a/source/core/texture2darray.h +++ b/source/core/texture2darray.h @@ -1,7 +1,7 @@ #ifndef MSP_GL_TEXTURE2DARRAY_H_ #define MSP_GL_TEXTURE2DARRAY_H_ -#include "texture3d.h" +#include "texture2darray_backend.h" namespace Msp { namespace GL { @@ -11,7 +11,7 @@ An array of two-dimensional textures. It's very much like a 3D texture, with two important differences: there's no filtering nor mipmapping along the third dimension. */ -class Texture2DArray: public Texture3D +class Texture2DArray: public Texture2DArrayBackend { public: class Loader: public Msp::DataFile::DerivedObjectLoader @@ -25,8 +25,6 @@ public: void external_image(unsigned, const std::string &); }; - Texture2DArray(); - void layer_image(unsigned, unsigned, const void *); void layer_image(unsigned, unsigned, const Graphics::Image &);