Skip to content

Commit c8e0217

Browse files
committed
Removed destroy from Texture operator
1 parent 5e8d09b commit c8e0217

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

engine/core/texture/Texture.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ Texture::Texture(const Texture& rhs){
108108

109109
Texture& Texture::operator=(const Texture& rhs){
110110
if (this != &rhs) {
111-
destroy();
112111
render = rhs.render;
113112
framebuffer = rhs.framebuffer;
114113
type = rhs.type;

0 commit comments

Comments
 (0)