ZoneCommon: Add Texture pointer from OAT to GfxTexture union of T6 to be able to save loaded texture data in GfxImage

This commit is contained in:
Jan
2020-02-07 20:54:40 +01:00
parent b210661ac8
commit 589347ce08
4 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#pragma once
#include <d3d11.h>
#include "Image/Texture.h"
#include "T6_Assets.h"
@ -18,7 +19,6 @@ namespace T6
XAssetHeader header;
};
struct XAssetList
{
ScriptStringList stringList;

View File

@ -696,6 +696,7 @@ namespace T6
union GfxTexture
{
ID3D11ShaderResourceView* basemap;
Texture* texture;
GfxImageLoadDef* loadDef;
};