diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-18 02:25:37 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-18 02:26:18 +0300 |
commit | 0fa36c81d906264c340cecc457656acf673770cb (patch) | |
tree | d77c562967e893e7f876f731827dd2ade9259d7d /source/blender/editors | |
parent | 3bbb39ecc114ddd2c5c3fc91e1376e1cc33f55b7 (diff) |
Cleanup: quite old-style-declaration warning, strip trailing space
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/screen/glutil.c | 2 |
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 |