Fix unsigned int vs. int problem in SplashScreen::manuallyResizeFBO()
Justified because: osg::Camera::getNumChildren() returns an unsigned int, and osg::Camera::getChild() takes an unsigned int
This commit is contained in:
parent
0d342f526e
commit
6e44fb1015
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ void SplashScreen::manuallyResizeFBO(int width, int height)
|
||||||
osg::ref_ptr<osg::Camera> newCam = createFBOCamera();
|
osg::ref_ptr<osg::Camera> newCam = createFBOCamera();
|
||||||
|
|
||||||
// swap everything around
|
// swap everything around
|
||||||
for (int i=0; i<_splashFBOCamera->getNumChildren(); ++i) {
|
for (unsigned int i=0; i < _splashFBOCamera->getNumChildren(); ++i) {
|
||||||
newCam->addChild(_splashFBOCamera->getChild(i));
|
newCam->addChild(_splashFBOCamera->getChild(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue