Skip to content

Commit

Permalink
GL: removed deprecated aliases to GL functionality in the root namesp…
Browse files Browse the repository at this point in the history
…ace.

Deprecated for 2018.04, it's been almost a year since. Whoever is using
Magnum regularly updated already, and who not can always upgrade
gradually (2018.02, 2018.04, 2018.10, 2019.01 etc.).
  • Loading branch information
mosra committed Mar 16, 2019
1 parent 572b64b commit 930a323
Show file tree
Hide file tree
Showing 110 changed files with 77 additions and 4,395 deletions.
8 changes: 5 additions & 3 deletions doc/changelog.dox
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ See also:

@subsection changelog-latest-compatibility Potential compatibility breakages, removed APIs

- Removed all aliases to @ref GL library functionality in the root namespace
(and root include path) which were deprecated in 2018.04
- In order to be compatible with both Emscripten 1.38.27 and the versions
before, all Emscripten markup is now expected to have the HTML @cb{.html} <canvas> @ce element identified by @cb{.css} #canvas @ce. You need to:
- update your HTML markup to use
Expand Down Expand Up @@ -1410,8 +1412,8 @@ Released 2018-05-01, tagged as
- Removed the @cpp Buffer::Usage @ce enum that was deprecated in 2014.01, use
the global @ref GL::BufferUsage enum instead
- Removed the `Magnum/Query.h` header that was deprecated in 2015.05, use one
of @ref Magnum/PrimitiveQuery.h, @ref Magnum/SampleQuery.h or
@ref Magnum/TimeQuery.h instead
of `Magnum/PrimitiveQuery.h`, `Magnum/SampleQuery.h` or
`Magnum/TimeQuery.h` instead
- Removed ability to use @ref GL::Buffer::Target as constructor or
@ref GL::Buffer::setTargetHint() parameter that was deprecated in 2015.05,
use @ref GL::Buffer::TargetHint instead
Expand Down Expand Up @@ -2145,7 +2147,7 @@ a high-level overview.
- Removed `Context::majorVersion()` and `Context::minorVersion()` functions,
use @ref Context::version() instead
- Removed deprecated `Magnum/DebugMarker.h` header, use
@ref Magnum/DebugOutput.h and @ref GL::DebugMessage "DebugMessage" class
`Magnum/DebugOutput.h` and @ref GL::DebugMessage "DebugMessage" class
instead
- Removed deprecated `*Buffer` values from
@ref GL::FramebufferBlit "FramebufferBlit", use values without the `Buffer`
Expand Down
6 changes: 6 additions & 0 deletions doc/snippets/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ endif()

add_library(snippets-Magnum STATIC ${snippets_Magnum_SRCS})
target_link_libraries(snippets-Magnum PRIVATE Magnum)
if(MAGNUM_TARGET_GL)
target_link_libraries(snippets-Magnum PRIVATE MagnumGL)
endif()
set_target_properties(snippets-Magnum PROPERTIES FOLDER "Magnum/doc/snippets")

if(WITH_AUDIO)
Expand Down Expand Up @@ -82,6 +85,9 @@ if(WITH_TRADE)
plugins.cpp
MagnumTrade.cpp)
target_link_libraries(snippets-MagnumTrade PRIVATE MagnumTrade)
if(MAGNUM_TARGET_GL)
target_link_libraries(snippets-MagnumTrade PRIVATE MagnumGL)
endif()
set_target_properties(snippets-MagnumTrade PROPERTIES FOLDER "Magnum/doc/snippets")
endif()

Expand Down
41 changes: 0 additions & 41 deletions src/Magnum/AbstractFramebuffer.h

This file was deleted.

41 changes: 0 additions & 41 deletions src/Magnum/AbstractObject.h

This file was deleted.

41 changes: 0 additions & 41 deletions src/Magnum/AbstractQuery.h

This file was deleted.

41 changes: 0 additions & 41 deletions src/Magnum/AbstractShaderProgram.h

This file was deleted.

41 changes: 0 additions & 41 deletions src/Magnum/AbstractTexture.h

This file was deleted.

41 changes: 0 additions & 41 deletions src/Magnum/Attribute.h

This file was deleted.

41 changes: 0 additions & 41 deletions src/Magnum/Buffer.h

This file was deleted.

41 changes: 0 additions & 41 deletions src/Magnum/BufferImage.h

This file was deleted.

Loading

0 comments on commit 930a323

Please sign in to comment.