Skip to content

Commit

Permalink
should get() the unique_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleP committed Nov 8, 2023
1 parent 2711777 commit 95170be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/cafe/source/objects/texture_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ void Texture<Console::CAFE>::Draw(Graphics<Console::CAFE>& graphics, Quad* quad,
command.handles = { this };

if (is2D)
transform.TransformXY(std::span(command.Positions(), command.count),
transform.TransformXY(std::span(command.Positions().get(), command.count),
std::span(quad->GetVertexPositions(), command.count));

const auto* textureCoords = quad->GetVertexTextureCoords();
Expand Down

0 comments on commit 95170be

Please sign in to comment.