git repos / sago_multi_scrambler_puzzle2

commit 70a1d9bd

Poul Sander · 2024-10-22 19:24
70a1d9bd245ea037cc2c8c48a3c4cd497f6614c1 patch · browse files
parent a9a9cdb9ede96a5cb3394243ad2e4938ef192866

Remove debug print

Changed files

M src/PuzzleSingleImageState.cpp before
diff --git a/src/PuzzleSingleImageState.cpp b/src/PuzzleSingleImageState.cpp index 056218d..5e7e6b9 100644 --- a/src/PuzzleSingleImageState.cpp +++ b/src/PuzzleSingleImageState.cpp
@@ -96,7 +96,6 @@ void PuzzleSingleImageState::Draw(SDL_Renderer* target) {
flip |= SDL_FLIP_VERTICAL;
}
SDL_RenderCopyEx(target, this->pictureTex, &source, &destination, 0, nullptr, static_cast<SDL_RendererFlip>(flip) );
- std::cout << "Writing piece " << i << " at " << destination.x << ", " << destination.y << " from " << source.x << ", " << source.y << "\n";
}
for (size_t i = 0; i < pieces_physical.size(); ++i) {
const SDL_Rect& piece = pieces_physical[i];