Skip to content

Commit

Permalink
opps wrong scale
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyAdd authored Jan 29, 2025
1 parent 6ed2e06 commit bbdbb1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/recorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ void RenderTexture::capture_frame(std::mutex& lock, std::vector<uint8_t>& data,
auto scene = PlayLayer::get();

#ifdef GEODE_IS_ANDROID
scene->setScale(-1);
scene->setScaleY(-1);
#endif
scene->visit();
#ifdef GEODE_IS_ANDROID
scene->setScale(1);
scene->setScaleY(1);
#endif

glPixelStorei(GL_PACK_ALIGNMENT, 1);
Expand Down

0 comments on commit bbdbb1e

Please sign in to comment.