Browse Source

GL: removed deprecated Context::DetectedDriver aliases.

Deprecated since 2017.
pull/331/head
Vladimír Vondruš 7 years ago
parent
commit
dad4fc7396
  1. 4
      doc/changelog.dox
  2. 14
      src/Magnum/GL/Context.h

4
doc/changelog.dox

@ -312,6 +312,10 @@ See also:
@ref GL::Buffer::subData() and @ref GL::Buffer::map() deprecated since
2017. Use the non-templated versions together with
@ref Corrade::Containers::arrayCast().
- Removed @cpp GL::Context::DetectedDriver::AMD @ce and
@cpp GL::Context::DetectedDriver::ProbablyAngle @ce aliases deprecated
since 2017, use consistently-named @ref GL::Context::DetectedDriver::Amd
and @ref GL::Context::DetectedDriver::Angle instead
- Removed the `Shapes` library together with `DebugTools::ShapeRenderer`,
which was a failed design experiment deprecated since version 2018.10
(see [mosra/magnum#148](https://github.com/mosra/magnum/issues/148))

14
src/Magnum/GL/Context.h

@ -314,13 +314,6 @@ class MAGNUM_GL_EXPORT Context {
* intentionally hide most of the driver information.
*/
Amd = 1 << 0,
#ifdef MAGNUM_BUILD_DEPRECATED
/** @copydoc DetectedDriver::Amd
* @deprecated Use @ref DetectedDriver::Amd instead.
*/
AMD CORRADE_DEPRECATED_ENUM("use DetectedDriver::Amd instead") = UnsignedShort(DetectedDriver::Amd),
#endif
#endif
#if defined(MAGNUM_TARGET_GLES) || defined(DOXYGEN_GENERATING_OUTPUT)
@ -333,13 +326,6 @@ class MAGNUM_GL_EXPORT Context {
* @requires_gles ANGLE doesn't support desktop OpenGL contexts.
*/
Angle = 1 << 1,
#ifdef MAGNUM_BUILD_DEPRECATED
/** @copydoc DetectedDriver::Angle
* @deprecated Use @ref DetectedDriver::Angle instead.
*/
ProbablyAngle CORRADE_DEPRECATED_ENUM("use DetectedDriver::Angle instead") = UnsignedShort(DetectedDriver::Angle),
#endif
#endif
#ifndef MAGNUM_TARGET_WEBGL

Loading…
Cancel
Save