Renderer/Texture: Remove Image constructor

This commit is contained in:
Lynix
2020-01-09 22:42:28 +01:00
parent 16d0345502
commit db78c9c948
3 changed files with 1 additions and 7 deletions

View File

@@ -54,12 +54,6 @@ namespace Nz
Create(type, format, width, height, depth, levelCount);
}
Texture::Texture(const Image* image)
{
ErrorFlags flags(ErrorFlag_ThrowException);
LoadFromImage(image);
}
Texture::~Texture()
{
OnTextureRelease(this);