aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Älgmyr <anton@algmyr.se>2020-06-05 22:28:47 +0200
committerHarry Jeffery <harry@exec64.co.uk>2020-06-12 01:00:10 +0100
commit8fac7401bc89e4baef0374495df65df297bf1936 (patch)
tree290046ec397c28047f8555032ea2be24652c77a8 /src
parent19ed1931be3fe897b6830d3bc77a11c7b7f08c3e (diff)
downloadimv-8fac7401bc89e4baef0374495df65df297bf1936.tar.gz
Make rotation clockwise
The documentation already stated that it should be clockwise, seems like I switched/intended to switch and some point.
Diffstat (limited to 'src')
-rw-r--r--src/canvas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canvas.c b/src/canvas.c
index a1044d5..c9b5ed7 100644
--- a/src/canvas.c
+++ b/src/canvas.c
@@ -258,7 +258,7 @@ static void draw_bitmap(struct imv_canvas *canvas,
if (mirrored) {
glScaled(-1, 1, 1);
}
- glRotated(-rotation, 0, 0, 1);
+ glRotated(rotation, 0, 0, 1);
glTranslated(-center_x, -center_y, 0);
glEnable(GL_BLEND);