diff options
Diffstat (limited to 'source/blender/imbuf/intern/rotate.c')
-rw-r--r-- | source/blender/imbuf/intern/rotate.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/rotate.c b/source/blender/imbuf/intern/rotate.c index 2b200abc852..e387901aaab 100644 --- a/source/blender/imbuf/intern/rotate.c +++ b/source/blender/imbuf/intern/rotate.c @@ -34,8 +34,9 @@ void IMB_flipy(struct ImBuf *ibuf) { int x, y; - if (ibuf == NULL) + if (ibuf == NULL) { return; + } if (ibuf->rect) { unsigned int *top, *bottom, *line; @@ -89,8 +90,9 @@ void IMB_flipx(struct ImBuf *ibuf) int x, y, xr, xl, yi; float px_f[4]; - if (ibuf == NULL) + if (ibuf == NULL) { return; + } x = ibuf->x; y = ibuf->y; |