From b28876ec7067a0b9c3621725afb19bd70bb2caba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 7 Apr 2014 22:58:57 +0200 Subject: [PATCH] Doc++ --- src/Magnum/RectangleTexture.h | 2 +- src/Magnum/Texture.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Magnum/RectangleTexture.h b/src/Magnum/RectangleTexture.h index 50673e8e5..91a3fca21 100644 --- a/src/Magnum/RectangleTexture.h +++ b/src/Magnum/RectangleTexture.h @@ -166,7 +166,7 @@ class RectangleTexture: public AbstractTexture { /** * @brief Set storage * @param internalFormat Internal format - * @param size Size + * @param size %Texture size * @return Reference to self (for method chaining) * * Specifies entire structure of a texture at once, removing the need diff --git a/src/Magnum/Texture.h b/src/Magnum/Texture.h index 2295f480e..4b6694fdf 100644 --- a/src/Magnum/Texture.h +++ b/src/Magnum/Texture.h @@ -178,7 +178,8 @@ template class Texture: public AbstractTexture { * is bound to some texture unit before the operation. * @see @fn_gl{ActiveTexture}, @fn_gl{BindTexture} and * @fn_gl{GetTexLevelParameter} or @fn_gl_extension{GetTextureLevelParameter,EXT,direct_state_access} - * with @def_gl{TEXTURE_WIDTH}, @def_gl{TEXTURE_HEIGHT} or @def_gl{TEXTURE_DEPTH}. + * with @def_gl{TEXTURE_WIDTH}, @def_gl{TEXTURE_HEIGHT} or + * @def_gl{TEXTURE_DEPTH} * @requires_gl %Texture image queries are not available in OpenGL ES. */ typename DimensionTraits::VectorType imageSize(Int level) { @@ -382,7 +383,7 @@ template class Texture: public AbstractTexture { * eventually @fn_gl{TexImage1D}/@fn_gl{TexImage2D}/@fn_gl{TexImage3D} or * @fn_gl_extension{TextureImage1D,EXT,direct_state_access}/ * @fn_gl_extension{TextureImage2D,EXT,direct_state_access}/ - * @fn_gl_extension{TextureImage3D,EXT,direct_state_access}. + * @fn_gl_extension{TextureImage3D,EXT,direct_state_access} */ Texture& setStorage(Int levels, TextureFormat internalFormat, const typename DimensionTraits::VectorType& size) { DataHelper::setStorage(*this, _target, levels, internalFormat, size);