diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 18:18:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 23:30:08 +0300 |
commit | e9a01c1d2f6edaf2902f82c73c98ff7d25627878 (patch) | |
tree | 93a40a63e99ba4a2ff2af0e66891b7e18f1db2db /source/blender/imbuf/intern/allocimbuf.c | |
parent | faabf92a7e891b355faf8ba6e2e2461e94262aab (diff) |
Cleanup: comments (long lines) in imbuf
Diffstat (limited to 'source/blender/imbuf/intern/allocimbuf.c')
-rw-r--r-- | source/blender/imbuf/intern/allocimbuf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c index eaf3d58270a..ba92026f560 100644 --- a/source/blender/imbuf/intern/allocimbuf.c +++ b/source/blender/imbuf/intern/allocimbuf.c @@ -212,9 +212,8 @@ void IMB_freeImBuf(ImBuf *ibuf) colormanage_cache_free(ibuf); if (ibuf->dds_data.data != NULL) { - free( - ibuf->dds_data - .data); /* dds_data.data is allocated by DirectDrawSurface::readData(), so don't use MEM_freeN! */ + /* dds_data.data is allocated by DirectDrawSurface::readData(), so don't use MEM_freeN! */ + free(ibuf->dds_data.data); } MEM_freeN(ibuf); } @@ -385,7 +384,8 @@ bool imb_addrectImBuf(ImBuf *ibuf) if (ibuf == NULL) return false; - /* don't call imb_freerectImBuf, it frees mipmaps, this call is used only too give float buffers display */ + /* Don't call imb_freerectImBuf, it frees mipmaps, + * this call is used only too give float buffers display. */ if (ibuf->rect && (ibuf->mall & IB_rect)) MEM_freeN(ibuf->rect); ibuf->rect = NULL; |