X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2darray.cpp;h=52f5fd7139fab95d8f72c9bcbbefbc76b0640a9a;hb=e70662d7812464159f2e47f4bebb69d88f89ae93;hp=1c7d363e4dcd5b3cdbfd8ab6e4c0b42ca1df7f41;hpb=acaefb4c669f01855252818ef0a2958cbdababc3;p=libs%2Fgl.git diff --git a/source/core/texture2darray.cpp b/source/core/texture2darray.cpp index 1c7d363e..52f5fd71 100644 --- a/source/core/texture2darray.cpp +++ b/source/core/texture2darray.cpp @@ -1,4 +1,3 @@ -#include #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)