From 56c0a3faef74658fec4769d986253023958e6c36 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Tue, 10 Mar 2015 16:34:40 +0100 Subject: Fix T43953, make opengl render work like before, basically, if we render transparent, it will render sky/transparent, regardless of the "show world setting". --- source/blender/editors/include/UI_resources.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/include') 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); -- cgit v1.2.3