]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture2darray.h
Move all OpenGL-specific code to a separate directory
[libs/gl.git] / source / core / texture2darray.h
index 21930f882e813a1240b5fe30eda5deb87b2c30f0..662fbad8c71c7ac8de37fed1280e47062ccaa0f1 100644 (file)
@@ -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<Texture2DArray, Texture3D::Loader>
@@ -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 &);