[IMaterial] Sortkey workaround

Search a material with the same techset and copy its sortkey
This commit is contained in:
momo5502
2016-12-27 19:17:52 +01:00
parent 021ec9f1c4
commit e909329910
3 changed files with 16 additions and 13 deletions

View File

@ -494,7 +494,9 @@ namespace Game
struct MaterialTechniqueSet
{
const char* name;
char pad[4];
char worldVertFormat;
bool hasBeenUploaded;
char unused[1];
MaterialTechniqueSet* remappedTechniques;
MaterialTechnique* techniques[48];
};