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-03-10 18:34:40 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-03-10 18:47:50 +0300
commit56c0a3faef74658fec4769d986253023958e6c36 (patch)
treecaba5900bf059671e6c7013bb0d413b2a1cabc74 /source/blender/editors/include
parentedc8a4c4847e3ea3a58683926c22b519d2af830c (diff)
Fix T43953, make opengl render work like before, basically, if we render
transparent, it will render sky/transparent, regardless of the "show world setting".
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/UI_resources.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h
index 4a6d9911d3b..4a484212a63 100644
--- a/source/blender/editors/include/UI_resources.h
+++ b/source/blender/editors/include/UI_resources.h
@@ -361,6 +361,9 @@ void UI_GetColorPtrBlendShade3ubv(const unsigned char cp1[3], const unsigned
// clear the openGL ClearColor using the input colorid
void UI_ThemeClearColor(int colorid);
+// clear the openGL ClearColor using the input colorid using optional transparency
+void UI_ThemeClearColorAlpha(int colorid, float alpha);
+
// internal (blender) usage only, for init and set active
void UI_SetTheme(int spacetype, int regionid);