Browse Source

Doc++

pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
8e9aa554f7
  1. 2
      src/Magnum/AbstractTexture.h
  2. 2
      src/Magnum/Context.cpp

2
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

2
src/Magnum/Context.cpp

@ -514,6 +514,7 @@ Version Context::supportedVersion(std::initializer_list<Version> 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
}

Loading…
Cancel
Save