From 942ce73f834329423967f723a4ff2782af1a069b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 8 Jun 2016 00:15:25 +0200 Subject: [PATCH] doc: don't use deprecated functionality. --- doc/getting-started.dox | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/getting-started.dox b/doc/getting-started.dox index 57e6c2634..6e38841c9 100644 --- a/doc/getting-started.dox +++ b/doc/getting-started.dox @@ -211,10 +211,12 @@ First include the needed headers: And in the constructor (which is currently empty) change the clear color and print something to debug output: @code +using namespace Magnum::Math::Literals; + Renderer::setClearColor(Color3::fromHSV(216.0_degf, 0.85f, 1.0f)); -Debug() << "Hello! This application is running on" << Context::current()->version() - << "using" << Context::current()->rendererString(); +Debug() << "Hello! This application is running on" << Context::current().version() + << "using" << Context::current().rendererString(); @endcode After rebuilding and starting the application, the clear color changes to