1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 21:45:33 +00:00

Use a test image guaranteed to exist.

This commit is contained in:
AnyOldName3 2017-10-13 18:27:32 +01:00
parent 26a7b48d69
commit be50ed7387

View file

@ -71,7 +71,7 @@ namespace MWRender
stateSet->addUniform(textureUniform.get());
testTex->setDataVariance(osg::Object::DYNAMIC);
osg::ref_ptr<osg::Image> testImage = osgDB::readRefImageFile("path/to/an/image/file.png");
osg::ref_ptr<osg::Image> testImage = osgDB::readRefImageFile("resources/mygui/openmw.png");
testTex->setImage(testImage);
}