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:
authorAntony Riakiotakis <kalast@gmail.com>2015-02-23 20:49:29 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-02-23 20:49:29 +0300
commit2081fd1d7de40f7b3e1a529f5b450ed508fe9257 (patch)
tree4e468d5d567aba01ed6015efcd0df7144bb6fbe2 /source/blender/editors/interface/resources.c
parent67fcf5256d81ce7e80ab1f4c75fb81b43e634301 (diff)
Gooseberry request:
Show World will now influence if world is rendered in opengl rendering. This is a little undefined according to blender history, since sky used to always be drawn when offscreen rendering, as if "Only Render" was ticked. Since if we don't draw sky in that case there's no valid color really (and using theme colors is not so nice) we just draw transparent background.
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r--source/blender/editors/interface/resources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index dab4b6a941c..ab237e78c26 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -1528,7 +1528,7 @@ void UI_ThemeClearColor(int colorid)
float col[3];
UI_GetThemeColor3fv(colorid, col);
- glClearColor(col[0], col[1], col[2], 0.0);
+ glClearColor(col[0], col[1], col[2], 0.0f);
}
int UI_ThemeMenuShadowWidth(void)