1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

Leave the MyGUI::PixelFormat as Unknown when loading from file as its not required.

This commit is contained in:
scrawl 2017-03-01 18:59:01 +01:00
parent 8fc7942d64
commit a759ef5d2e

View file

@ -107,10 +107,7 @@ namespace osgMyGUI
mWidth = image->s();
mHeight = image->t();
// FIXME
mFormat = MyGUI::PixelFormat::R8G8B8;
mUsage = MyGUI::TextureUsage::Static | MyGUI::TextureUsage::Write;
mNumElemBytes = 3; // FIXME
mUsage = MyGUI::TextureUsage::Static;
}
void OSGTexture::saveToFile(const std::string &fname)