projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- player building again
[blender.git]
/
source
/
blender
/
blenkernel
/
intern
/
colortools.c
diff --git
a/source/blender/blenkernel/intern/colortools.c
b/source/blender/blenkernel/intern/colortools.c
index d8975c16cc81c97dd2b09b7c30a46d1f00cbd27b..09c65f4b21dbebce26cfbb76329aad1c1563bc61 100644
(file)
--- a/
source/blender/blenkernel/intern/colortools.c
+++ b/
source/blender/blenkernel/intern/colortools.c
@@
-768,7
+768,6
@@
void curvemapping_do_ibuf(CurveMapping *cumap, ImBuf *ibuf)
{
ImBuf *tmpbuf;
int pixel;
- char *tmpcbuf;
float *pix_in;
float col[3];
int stride= 4;
@@
-816,7
+815,7
@@
void curvemapping_do_ibuf(CurveMapping *cumap, ImBuf *ibuf)
}
IMB_rect_from_float(tmpbuf);
- SWAP(
char
*, tmpbuf->rect, ibuf->rect);
+ SWAP(
unsigned int
*, tmpbuf->rect, ibuf->rect);
IMB_freeImBuf(tmpbuf);