Don't use osg::notify

openmw-38
scrawl 9 years ago
parent 06719df868
commit 6f966b8434

@ -2,6 +2,7 @@
#include <cassert>
#include <stdexcept>
#include <iostream>
#include <SDL_mouse.h>
#include <SDL_endian.h>
@ -52,7 +53,7 @@ namespace
if (!_gc)
{
osg::notify(osg::NOTICE)<<"Failed to create pbuffer, failing back to normal graphics window."<<std::endl;
std::cerr << "Failed to create pbuffer, failing back to normal graphics window." << std::endl;
traits->pbuffer = false;
_gc = osg::GraphicsContext::createGraphicsContext(traits.get());
@ -224,8 +225,9 @@ namespace SDLUtil
try {
decompressed = decompress(image, static_cast<float>(rotDegrees));
} catch (...) {
osg::notify(osg::NOTICE)<<"Using default cursor."<<std::endl;
} catch (std::exception& e) {
std::cerr << e.what() << std::endl;
std::cerr <<"Using default cursor."<<std::endl;
return;
}

Loading…
Cancel
Save