From 602a9be75e8a1ec9b78b08dad1dc3434851fc0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 8 Oct 2012 17:40:18 +0200 Subject: [PATCH] Don't duplicate CubeMapTexture functionality in CubeMapTextureArray. --- src/CubeMapTextureArray.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/CubeMapTextureArray.h b/src/CubeMapTextureArray.h index 4569c1ad1..ea6851aa2 100644 --- a/src/CubeMapTextureArray.h +++ b/src/CubeMapTextureArray.h @@ -33,6 +33,7 @@ classic textures, coordinates for cube map textures is signed three-part vector from the center of the cube, which intersects one of the six sides of the cube map. +@see CubeMapTexture::setSeamless() @requires_gl40 Extension @extension{ARB,texture_cube_map_array} */ class CubeMapTextureArray: public AbstractTexture { @@ -47,16 +48,6 @@ class CubeMapTextureArray: public AbstractTexture { NegativeZ = 5 /**< -Z cube side */ }; - /** - * @brief Enable/disable seamless cube map textures - * - * @see @fn_gl{Enable}/@fn_gl{Disable} with @def_gl{TEXTURE_CUBE_MAP_SEAMLESS} - * @requires_gl32 Extension @extension{ARB,seamless_cube_map} - */ - inline static void setSeamless(bool enabled) { - enabled ? glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS) : glDisable(GL_TEXTURE_CUBE_MAP_SEAMLESS); - } - /** * @brief Constructor *