From c0e96dec84813ba5d265e03e93f9f423ded6b2bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 16 May 2015 18:30:17 +0200 Subject: [PATCH] Really mark deprecated functions with deprecated attribute. --- src/Magnum/Framebuffer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Magnum/Framebuffer.h b/src/Magnum/Framebuffer.h index 79a72a89c..6088af23e 100644 --- a/src/Magnum/Framebuffer.h +++ b/src/Magnum/Framebuffer.h @@ -624,7 +624,7 @@ class MAGNUM_EXPORT Framebuffer: public AbstractFramebuffer, public AbstractObje * @copybrief attachTexture() * @deprecated Use one of @ref attachTexture() overloads instead. */ - Framebuffer& attachTexture1D(BufferAttachment attachment, Texture1D& texture, Int level) { + CORRADE_DEPRECATED("use one of attachTexture() overloads instead") Framebuffer& attachTexture1D(BufferAttachment attachment, Texture1D& texture, Int level) { return attachTexture(attachment, texture, level); } #endif @@ -633,13 +633,13 @@ class MAGNUM_EXPORT Framebuffer: public AbstractFramebuffer, public AbstractObje * @copybrief attachTexture() * @deprecated Use one of @ref attachTexture() overloads instead. */ - Framebuffer& attachTexture2D(BufferAttachment attachment, Texture2D& texture, Int level); + CORRADE_DEPRECATED("use one of attachTexture() overloads instead") Framebuffer& attachTexture2D(BufferAttachment attachment, Texture2D& texture, Int level); /** * @copybrief attachTextureLayer() * @deprecated Use one of @ref attachTextureLayer() overloads instead. */ - Framebuffer& attachTexture3D(BufferAttachment attachment, Texture3D& texture, Int level, Int layer) { + CORRADE_DEPRECATED("use one of attachTexture() overloads instead") Framebuffer& attachTexture3D(BufferAttachment attachment, Texture3D& texture, Int level, Int layer) { return attachTextureLayer(attachment, texture, level, layer); } #endif