mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 16:56:47 +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
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		|  | @ -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 a new issue