Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/editors/include/BIF_glutil.h8
-rw-r--r--source/blender/editors/screen/glutil.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/include/BIF_glutil.h b/source/blender/editors/include/BIF_glutil.h
index 3b7eb01f92c..1d688b2ad68 100644
--- a/source/blender/editors/include/BIF_glutil.h
+++ b/source/blender/editors/include/BIF_glutil.h
@@ -72,7 +72,7 @@ void immDrawPixelsTex(IMMDrawPixelsTexState *state,
void *rect,
float xzoom,
float yzoom,
- float color[4]);
+ const float color[4]);
void immDrawPixelsTex_clipping(IMMDrawPixelsTexState *state,
float x,
float y,
@@ -87,7 +87,7 @@ void immDrawPixelsTex_clipping(IMMDrawPixelsTexState *state,
float clip_max_y,
float xzoom,
float yzoom,
- float color[4]);
+ const float color[4]);
void immDrawPixelsTexScaled(IMMDrawPixelsTexState *state,
float x,
float y,
@@ -100,7 +100,7 @@ void immDrawPixelsTexScaled(IMMDrawPixelsTexState *state,
float scaleY,
float xzoom,
float yzoom,
- float color[4]);
+ const float color[4]);
void immDrawPixelsTexScaled_clipping(IMMDrawPixelsTexState *state,
float x,
float y,
@@ -117,7 +117,7 @@ void immDrawPixelsTexScaled_clipping(IMMDrawPixelsTexState *state,
float clip_max_y,
float xzoom,
float yzoom,
- float color[4]);
+ const float color[4]);
/* Image buffer drawing functions, with display transform
*
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index 903013460d4..05eac574d9d 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -106,7 +106,7 @@ void immDrawPixelsTexScaled_clipping(IMMDrawPixelsTexState *state,
float clip_max_y,
float xzoom,
float yzoom,
- float color[4])
+ const float color[4])
{
int subpart_x, subpart_y, tex_w = 256, tex_h = 256;
int seamless, offset_x, offset_y, nsubparts_x, nsubparts_y;
@@ -272,7 +272,7 @@ void immDrawPixelsTexScaled(IMMDrawPixelsTexState *state,
float scaleY,
float xzoom,
float yzoom,
- float color[4])
+ const float color[4])
{
immDrawPixelsTexScaled_clipping(state,
x,
@@ -303,7 +303,7 @@ void immDrawPixelsTex(IMMDrawPixelsTexState *state,
void *rect,
float xzoom,
float yzoom,
- float color[4])
+ const float color[4])
{
immDrawPixelsTexScaled_clipping(state,
x,
@@ -338,7 +338,7 @@ void immDrawPixelsTex_clipping(IMMDrawPixelsTexState *state,
float clip_max_y,
float xzoom,
float yzoom,
- float color[4])
+ const float color[4])
{
immDrawPixelsTexScaled_clipping(state,
x,