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:
authorCampbell Barton <campbell@blender.org>2022-01-18 02:25:37 +0300
committerCampbell Barton <campbell@blender.org>2022-01-18 02:26:18 +0300
commit0fa36c81d906264c340cecc457656acf673770cb (patch)
treed77c562967e893e7f876f731827dd2ade9259d7d /source/blender/editors/screen
parent3bbb39ecc114ddd2c5c3fc91e1376e1cc33f55b7 (diff)
Cleanup: quite old-style-declaration warning, strip trailing space
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/glutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index 0ddede017e2..03e817c467d 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -86,7 +86,7 @@ void immDrawPixelsTexScaledFullSize(const IMMDrawPixelsTexState *state,
const float yzoom,
const float color[4])
{
- const static float white[4] = {1.0f, 1.0f, 1.0f, 1.0f};
+ static const float white[4] = {1.0f, 1.0f, 1.0f, 1.0f};
const float draw_width = img_w * scaleX * xzoom;
const float draw_height = img_h * scaleY * yzoom;
/* Downscaling with regular bilinear interpolation (i.e. #GL_LINEAR) doesn't give good filtering