Fix logging with dynamic GL on Windows
authorLaszlo Agocs <laszlo.agocs@digia.com>
Fri, 14 Feb 2014 14:39:54 +0000 (15:39 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 14 Feb 2014 14:43:37 +0000 (15:43 +0100)
commit25e7fe16504ad4784ea2d75204ffa855ca6d3e1b
treea44162778acc26ded7091ee4bb4787d433d44b33
parent71de22b03f5e568f4a47c712c0a215c557d9162f
Fix logging with dynamic GL on Windows

category() returns a const QLoggingCategory so our code does not
compile anymore. Do it differently.

Fix also the Windows error string formatting a bit.

Change-Id: Ie0b6b02947d94b7ccf4a4a57da487dfa8a15709d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/gui/opengl/qopenglproxy_win.cpp