diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-29 16:11:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-29 16:15:21 +0300 |
commit | 133f79e4492eca400d0e043733d43ca522cdb2b9 (patch) | |
tree | 52e0636dee671820e46b5bacdf5f799b48877db1 /source/blender/windowmanager/intern | |
parent | 5c633d3ba0601afc08e7e7f5021e3c23b94d07f6 (diff) |
Cleanup: warnings, typos
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm_playanim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c index 76add2f9aac..677be734d4b 100644 --- a/source/blender/windowmanager/intern/wm_playanim.c +++ b/source/blender/windowmanager/intern/wm_playanim.c @@ -298,8 +298,8 @@ static void playanim_toscreen(PlayState *ps, PlayAnimPict *picture, struct ImBuf glRasterPos2f(offs_x + (ps->draw_flip[0] ? span_x : 0.0f), offs_y + (ps->draw_flip[1] ? span_y : 0.0f)); - glPixelZoom(ps->zoom * ps->draw_flip[0] ? -1.0f : 1.0f, - ps->zoom * ps->draw_flip[1] ? -1.0f : 1.0f); + glPixelZoom(ps->zoom * (ps->draw_flip[0] ? -1.0f : 1.0f), + ps->zoom * (ps->draw_flip[1] ? -1.0f : 1.0f)); glDrawPixels(ibuf->x, ibuf->y, GL_RGBA, GL_UNSIGNED_BYTE, ibuf->rect); |