diff --git a/src/AbstractTexture.h b/src/AbstractTexture.h index 296e75332..5f9ed2fcc 100644 --- a/src/AbstractTexture.h +++ b/src/AbstractTexture.h @@ -587,7 +587,7 @@ template<> struct AbstractTexture::DataHelper<1> { template<> struct AbstractTexture::DataHelper<2> { enum class Target: GLenum { Texture2D = GL_TEXTURE_2D, - Array1D = GL_TEXTURE_1D_ARRAY, + Texture1DArray = GL_TEXTURE_1D_ARRAY, Rectangle = GL_TEXTURE_RECTANGLE }; @@ -610,7 +610,7 @@ template<> struct AbstractTexture::DataHelper<2> { template<> struct AbstractTexture::DataHelper<3> { enum class Target: GLenum { Texture3D = GL_TEXTURE_3D, - Array2D = GL_TEXTURE_2D_ARRAY + Texture2DArray = GL_TEXTURE_2D_ARRAY }; inline constexpr static Target target() { return Target::Texture3D; } diff --git a/src/Texture.h b/src/Texture.h index b735bef78..a5b5ab198 100644 --- a/src/Texture.h +++ b/src/Texture.h @@ -68,18 +68,18 @@ template class Texture: public AbstractTexture { Texture3D = GL_TEXTURE_3D, /**< Three-dimensional texture */ /** - * Array of one-dimensional textures (i.e. two dimensions in total) + * One-dimensional texture array (i.e. two dimensions in total) * * @requires_gl30 Extension EXT_texture_array */ - Array1D = GL_TEXTURE_1D_ARRAY, + Texture1DArray = GL_TEXTURE_1D_ARRAY, /** - * Array of two-dimensional textures (i.e. three dimensions in total) + * Two-dimensional texture array (i.e. three dimensions in total) * * @requires_gl30 Extension EXT_texture_array */ - Array2D = GL_TEXTURE_2D_ARRAY, + Texture2DArray = GL_TEXTURE_2D_ARRAY, /** * Rectangle texture (i.e. two dimensions)