mirror of
				https://github.com/Laupetin/OpenAssetTools.git
				synced 2025-10-31 02:26:59 +00:00 
			
		
		
		
	Move DXGI_FORMAT definition into separate namespace to make it compatible to existing definitions
This commit is contained in:
		| @@ -351,7 +351,7 @@ namespace T6 | ||||
|         else | ||||
|             textureLoader.Type(TextureType::T_2D); | ||||
|  | ||||
|         textureLoader.Format(static_cast<DXGI_FORMAT>(loadDef->format)); | ||||
|         textureLoader.Format(static_cast<oat::DXGI_FORMAT>(loadDef->format)); | ||||
|         textureLoader.HasMipMaps(!(loadDef->flags & iwi27::IMG_FLAG_NOMIPMAPS)); | ||||
|         Texture* loadedTexture = textureLoader.LoadTexture(image->texture.loadDef->data); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user