Code cleanup: use 'const' for arrays (blenloader, gpu, imbuf, makesdna, modifiers, nodes)

This commit is contained in:
2014-04-27 00:24:11 +10:00
parent 88a0fe5f1b
commit 7ca74fc1c0
25 changed files with 46 additions and 46 deletions

View File

@@ -567,7 +567,7 @@ void IMB_rect_from_float(ImBuf *ibuf)
/* converts from linear float to sRGB byte for part of the texture, buffer will hold the changed part */
void IMB_partial_rect_from_float(ImBuf *ibuf, float *buffer, int x, int y, int w, int h, bool is_data)
{
float *rect_float;
const float *rect_float;
uchar *rect_byte;
int profile_from = IB_PROFILE_LINEAR_RGB;