forked from teamnwah/openmw-tes3coop
Leave the MyGUI::PixelFormat as Unknown when loading from file as its not required.
This commit is contained in:
parent
8fc7942d64
commit
a759ef5d2e
1 changed files with 1 additions and 4 deletions
|
@ -107,10 +107,7 @@ namespace osgMyGUI
|
||||||
mWidth = image->s();
|
mWidth = image->s();
|
||||||
mHeight = image->t();
|
mHeight = image->t();
|
||||||
|
|
||||||
// FIXME
|
mUsage = MyGUI::TextureUsage::Static;
|
||||||
mFormat = MyGUI::PixelFormat::R8G8B8;
|
|
||||||
mUsage = MyGUI::TextureUsage::Static | MyGUI::TextureUsage::Write;
|
|
||||||
mNumElemBytes = 3; // FIXME
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void OSGTexture::saveToFile(const std::string &fname)
|
void OSGTexture::saveToFile(const std::string &fname)
|
||||||
|
|
Loading…
Reference in a new issue