Renderer/Texture: Remove Image constructor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user