]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture2darray.cpp
Move all OpenGL-specific code to a separate directory
[libs/gl.git] / source / core / texture2darray.cpp
index 1c7d363e4dcd5b3cdbfd8ab6e4c0b42ca1df7f41..52f5fd7139fab95d8f72c9bcbbefbc76b0640a9a 100644 (file)
@@ -1,4 +1,3 @@
-#include <msp/gl/extensions/ext_texture_array.h>
 #include "error.h"
 #include "texture2darray.h"
 
@@ -7,12 +6,6 @@ using namespace std;
 namespace Msp {
 namespace GL {
 
-Texture2DArray::Texture2DArray():
-       Texture3D(GL_TEXTURE_2D_ARRAY)
-{
-       static Require _req(EXT_texture_array);
-}
-
 void Texture2DArray::layer_image(unsigned level, unsigned z, const void *data)
 {
        if(level>=levels || z>=depth)