diff --git a/lib/ivis_opengl/tex.cpp b/lib/ivis_opengl/tex.cpp index 4e916af7c6f..952e003e7c4 100644 --- a/lib/ivis_opengl/tex.cpp +++ b/lib/ivis_opengl/tex.cpp @@ -65,6 +65,7 @@ struct iTexPage std::swap(name, input.name); id = input.id; input.id = nullptr; + std::swap(textureType, input.textureType); } ~iTexPage()