mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-03 17:37:18 +00:00
Leave the MyGUI::PixelFormat as Unknown when loading from file as its not required.
This commit is contained in:
parent
8fc7942d64
commit
a759ef5d2e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user