Skip to content

Commit

Permalink
Fix: iTexPage move constructor lost textureType
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Nov 2, 2022
1 parent 890767d commit ad8d943
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ivis_opengl/tex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ struct iTexPage
std::swap(name, input.name);
id = input.id;
input.id = nullptr;
std::swap(textureType, input.textureType);
}

~iTexPage()
Expand Down

0 comments on commit ad8d943

Please sign in to comment.