-#include <msp/datafile/collection.h>
-#include <msp/gl/extensions/ext_texture_array.h>
#include "error.h"
#include "texture2darray.h"
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)