X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2darray.cpp;h=52f5fd7139fab95d8f72c9bcbbefbc76b0640a9a;hb=6cee6c490ded0981c4da3f9f4ec74a41555e1a4e;hp=3c54f7c0937bc580dd964846b8aab2cdad05b8df;hpb=6065f6622cc275dc0b20baaf7c267e71169d18f3;p=libs%2Fgl.git diff --git a/source/core/texture2darray.cpp b/source/core/texture2darray.cpp index 3c54f7c0..52f5fd71 100644 --- a/source/core/texture2darray.cpp +++ b/source/core/texture2darray.cpp @@ -1,5 +1,3 @@ -#include -#include #include "error.h" #include "texture2darray.h" @@ -8,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)