From 8e9aa554f7b7ec517768cf2e6e64ca4593bb99b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 18 Mar 2014 22:05:10 +0100 Subject: [PATCH] Doc++ --- src/Magnum/AbstractTexture.h | 2 +- src/Magnum/Context.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Magnum/AbstractTexture.h b/src/Magnum/AbstractTexture.h index 136b46b4d..ace81fc3a 100644 --- a/src/Magnum/AbstractTexture.h +++ b/src/Magnum/AbstractTexture.h @@ -83,7 +83,7 @@ OpenGL ES 3.0 or @es_extension{EXT,texture_storage} in OpenGL ES 2.0 is not available, the feature is emulated with sequence of @ref Texture::setImage() "setImage()" calls. -You can use functions @ref Texture::invalidateImage() and +You can use functions @ref Texture::invalidateImage() "invalidateImage()" and @ref Texture::invalidateSubImage() "invalidateSubImage()" if you don't need texture data anymore to avoid unnecessary memory operations performed by OpenGL in order to preserve the data. If running on OpenGL ES or extension diff --git a/src/Magnum/Context.cpp b/src/Magnum/Context.cpp index 2e6be867a..931daa7d2 100644 --- a/src/Magnum/Context.cpp +++ b/src/Magnum/Context.cpp @@ -514,6 +514,7 @@ Version Context::supportedVersion(std::initializer_list versions) const #endif } +#ifndef DOXYGEN_GENERATING_OUTPUT Debug operator<<(Debug debug, const Context::Flag value) { switch(value) { #define _c(value) case Context::Flag::value: return debug << "Context::Flag::" #value; @@ -526,5 +527,6 @@ Debug operator<<(Debug debug, const Context::Flag value) { return debug << "Context::Flag::(invalid)"; } +#endif }