Improved texture creation

Fixed possible wasted space on NVidia hardware


Former-commit-id: 42a26c88d8bd03b1ac845c62984cf8c355f1902a
This commit is contained in:
Lynix
2015-01-04 12:50:56 +01:00
parent ed1cc7a092
commit 97ff9bc4ac
2 changed files with 143 additions and 137 deletions

View File

@@ -101,6 +101,7 @@ class NAZARA_API NzTexture : public NzResource, NzNonCopyable
static bool IsTypeSupported(nzImageType type);
private:
bool CreateTexture(bool proxy);
void InvalidateMipmaps();
NzTextureImpl* m_impl = nullptr;