Browse Source

Avoid linking to APIs that are not named like this anymore.

pull/233/head
Vladimír Vondruš 8 years ago
parent
commit
55d4d344cf
  1. 10
      src/Magnum/CubeMapTexture.h
  2. 2
      src/Magnum/Shaders/Phong.h

10
src/Magnum/CubeMapTexture.h

@ -646,9 +646,9 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
/**
* @brief Read given mip level and coordinate of texture to buffer image
*
* See @ref image(Coordinate, Int, Image2D&) for more information. The
* storage is not reallocated if it is large enough to contain the new
* data, which means that @p usage might get ignored.
* See @ref image(CubeMapCoordinate, Int, Image2D&) for more
* information. The storage is not reallocated if it is large enough to
* contain the new data, which means that @p usage might get ignored.
* @requires_gl Texture image queries are not available in OpenGL ES or
* WebGL. See @ref Framebuffer::read() or @ref DebugTools::textureSubImage()
* for possible workarounds.
@ -706,8 +706,8 @@ class MAGNUM_EXPORT CubeMapTexture: public AbstractTexture {
/**
* @brief Read given mip level and coordinate of compressed texture to buffer image
*
* See @ref compressedImage(Coordinate, Int, CompressedImage2D&) for
* more information. The storage is not reallocated if it is large
* See @ref compressedImage(CubeMapCoordinate, Int, CompressedImage2D&)
* for more information. The storage is not reallocated if it is large
* enough to contain the new data, which means that @p usage might get
* ignored.
* @requires_gl Texture image queries are not available in OpenGL ES or

2
src/Magnum/Shaders/Phong.h

@ -236,7 +236,7 @@ class MAGNUM_SHADERS_EXPORT Phong: public AbstractShaderProgram {
* @return Reference to self (for method chaining)
*
* Has effect only if @ref Flag::SpecularTexture is set.
* @see @ref setTextures(), @ref setSpecularColor()
* @see @ref bindTextures(), @ref setSpecularColor()
*/
Phong& bindSpecularTexture(Texture2D& texture);

Loading…
Cancel
Save