edubart / otclient

An alternative tibia client for otserv written in C++11 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
Other
646 stars 399 forks source link

(Question) Flip/Mirror image OpenGL #1171

Open Klonoa88 opened 2 years ago

Klonoa88 commented 2 years ago

How do i flip/mirror a image?

Rotate works with: g_painter->saveAndResetState(); g_painter->rotate(dest.x, dest.y, 180); Draw(); g_painter->restoreSavedState();

But do not understand how to do flip. Have googled and read a lot but it does not work