Browse Source

Removed long-deprecated *::maxSupported*() limit queries.

Use alternatives without the "Supported" substring instead.
pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
116f474fab
  1. 9
      src/Magnum/AbstractShaderProgram.h
  2. 1
      src/Magnum/AbstractTexture.cpp
  3. 9
      src/Magnum/AbstractTexture.h
  4. 7
      src/Magnum/Sampler.h

9
src/Magnum/AbstractShaderProgram.h

@ -343,15 +343,6 @@ class MAGNUM_EXPORT AbstractShaderProgram: public AbstractObject {
*/
static Int maxVertexAttributes();
#ifdef MAGNUM_BUILD_DEPRECATED
/**
* @copydoc maxVertexAttributes()
* @deprecated Use @ref Magnum::AbstractShaderProgram::maxVertexAttributes() "maxVertexAttributes()"
* instead.
*/
static CORRADE_DEPRECATED("use maxVertexAttributes() instead") Int maxSupportedVertexAttributeCount() { return maxVertexAttributes(); }
#endif
#ifndef MAGNUM_TARGET_GLES
/**
* @brief Max supported atomic counter buffer size

1
src/Magnum/AbstractTexture.cpp

@ -48,7 +48,6 @@ namespace Magnum {
#ifdef MAGNUM_BUILD_DEPRECATED
Int AbstractTexture::maxLayers() { return Shader::maxCombinedTextureImageUnits(); }
Int AbstractTexture::maxSupportedLayerCount() { return Shader::maxCombinedTextureImageUnits(); }
#endif
#ifndef MAGNUM_TARGET_GLES

9
src/Magnum/AbstractTexture.h

@ -122,15 +122,6 @@ class MAGNUM_EXPORT AbstractTexture: public AbstractObject {
static CORRADE_DEPRECATED("use Shader::maxCombinedTextureImageUnits() instead") Int maxLayers();
#endif
#ifdef MAGNUM_BUILD_DEPRECATED
/**
* @copybrief Shader::maxCombinedTextureImageUnits()
* @deprecated Use @ref Magnum::Shader::maxCombinedTextureImageUnits() "Shader::maxCombinedTextureImageUnits()"
* instead.
*/
static CORRADE_DEPRECATED("use Shader::maxCombinedTextureImageUnits() instead") Int maxSupportedLayerCount();
#endif
#ifndef MAGNUM_TARGET_GLES
/**
* @brief Max supported color sample count

7
src/Magnum/Sampler.h

@ -150,13 +150,6 @@ class MAGNUM_EXPORT Sampler {
* instead.
*/
static CORRADE_DEPRECATED("use maxMaxAnisotropy() instead") Float maxAnisotropy() { return maxMaxAnisotropy(); }
/**
* @copybrief maxMaxAnisotropy()
* @deprecated Use @ref Magnum::Sampler::maxMaxAnisotropy() "maxMaxAnisotropy()"
* instead.
*/
static CORRADE_DEPRECATED("use maxMaxAnisotropy() instead") Float maxSupportedAnisotropy() { return maxMaxAnisotropy(); }
#endif
};

Loading…
Cancel
Save