From 6f966b84349f5eb05b074c5152cae276cd5d0651 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 11 Dec 2015 16:18:08 +0100 Subject: [PATCH] Don't use osg::notify --- components/sdlutil/sdlcursormanager.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/components/sdlutil/sdlcursormanager.cpp b/components/sdlutil/sdlcursormanager.cpp index 40b87d905..9ecef0483 100644 --- a/components/sdlutil/sdlcursormanager.cpp +++ b/components/sdlutil/sdlcursormanager.cpp @@ -2,6 +2,7 @@ #include #include +#include #include #include @@ -52,7 +53,7 @@ namespace if (!_gc) { - osg::notify(osg::NOTICE)<<"Failed to create pbuffer, failing back to normal graphics window."<pbuffer = false; _gc = osg::GraphicsContext::createGraphicsContext(traits.get()); @@ -224,8 +225,9 @@ namespace SDLUtil try { decompressed = decompress(image, static_cast(rotDegrees)); - } catch (...) { - osg::notify(osg::NOTICE)<<"Using default cursor."<