forked from mirror/openmw-tes3mp
Don't use osg::notify
This commit is contained in:
parent
06719df868
commit
6f966b8434
1 changed files with 5 additions and 3 deletions
|
@ -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…
Reference in a new issue