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:
parent
26a7b48d69
commit
be50ed7387
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue