- moved image format detection logic from FTexture to FImageSource.
This commit is contained in:
parent
34884e2756
commit
5448874c6e
18 changed files with 146 additions and 109 deletions
|
|
@ -62,9 +62,9 @@ public:
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
FTexture *FlatTexture_TryCreate(FileReader & file, int lumpnum)
|
||||
FImageSource *FlatImage_TryCreate(FileReader & file, int lumpnum)
|
||||
{
|
||||
return new FImageTexture(new FFlatTexture(lumpnum));
|
||||
return new FFlatTexture(lumpnum);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue