Browse Source

Don't use deprecated functionality.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
f9fda5ac56
  1. 4
      doc/generated/hello.cpp
  2. 2
      doc/getting-started.dox
  3. 2
      doc/platform.dox

4
doc/generated/hello.cpp

@ -23,11 +23,11 @@
DEALINGS IN THE SOFTWARE.
*/
#include <Magnum/Color.h>
#include <Magnum/DefaultFramebuffer.h>
#include <Magnum/Context.h>
#include <Magnum/DefaultFramebuffer.h>
#include <Magnum/Renderer.h>
#include <Magnum/Version.h>
#include <Magnum/Magnum/Color.h>
#include <Magnum/Platform/Sdl2Application.h>
using namespace Magnum;

2
doc/getting-started.dox

@ -187,10 +187,10 @@ the concepts of graphics programming, we can change clear color to something
else and also print basic information about the GPU the engine is running on.
First include the needed headers:
@code
#include <Magnum/Color.h>
#include <Magnum/Context.h>
#include <Magnum/Renderer.h>
#include <Magnum/Version.h>
#include <Magnum/Math/Color.h>
@endcode
And in the constructor (which is currently empty) change the clear color and

2
doc/platform.dox

@ -66,9 +66,9 @@ blue color is shown in the following code listing.
repository.
@code
#include <Magnum/Color.h>
#include <Magnum/DefaultFramebuffer.h>
#include <Magnum/Renderer.h>
#include <Magnum/Math/Color.h>
#include <Magnum/Platform/Sdl2Application.h>
using namespace Magnum;

Loading…
Cancel
Save