]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/texture2darray_backend.cpp
Move all OpenGL-specific code to a separate directory
[libs/gl.git] / source / backends / opengl / texture2darray_backend.cpp
diff --git a/source/backends/opengl/texture2darray_backend.cpp b/source/backends/opengl/texture2darray_backend.cpp
new file mode 100644 (file)
index 0000000..610229b
--- /dev/null
@@ -0,0 +1,14 @@
+#include <msp/gl/extensions/ext_texture_array.h>
+#include "texture2darray_backend.h"
+
+namespace Msp {
+namespace GL {
+
+OpenGLTexture2DArray::OpenGLTexture2DArray():
+       Texture3D(GL_TEXTURE_2D_ARRAY)
+{
+       static Require _req(EXT_texture_array);
+}
+
+} // namespace GL
+} // namespace Msp