diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-02 15:17:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-02 15:17:22 +0300 |
commit | 163996b68129f3a34db73c6a6a1e81ec8f4a81e4 (patch) | |
tree | a78662ee2ff3ce658f5a29ff241944ac7bd2953f /source/blender/imbuf/intern/allocimbuf.c | |
parent | b708917d94afa3a77be5e571b1c36a364d2ec6b5 (diff) |
Cleanup: move comments onto own lines to avoid breaking lines
Diffstat (limited to 'source/blender/imbuf/intern/allocimbuf.c')
-rw-r--r-- | source/blender/imbuf/intern/allocimbuf.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c index d518406124f..7d2f51af65e 100644 --- a/source/blender/imbuf/intern/allocimbuf.c +++ b/source/blender/imbuf/intern/allocimbuf.c @@ -493,11 +493,12 @@ bool IMB_initImBuf( ibuf->y = y; ibuf->planes = planes; ibuf->ftype = IMB_FTYPE_PNG; - ibuf->foptions.quality = - 15; /* the 15 means, set compression to low ratio but not time consuming */ - ibuf->channels = 4; /* float option, is set to other values when buffers get assigned */ - ibuf->ppm[0] = ibuf->ppm[1] = IMB_DPI_DEFAULT / - 0.0254f; /* IMB_DPI_DEFAULT -> pixels-per-meter */ + /* The '15' means, set compression to low ratio but not time consuming. */ + ibuf->foptions.quality = 15; + /* float option, is set to other values when buffers get assigned. */ + ibuf->channels = 4; + /* IMB_DPI_DEFAULT -> pixels-per-meter. */ + ibuf->ppm[0] = ibuf->ppm[1] = IMB_DPI_DEFAULT / 0.0254f; if (flags & IB_rect) { if (imb_addrectImBuf(ibuf) == false) { |