htsky

Load and structure a vertically stratified atmosphere
git clone git://git.meso-star.fr/htsky.git
Log | Files | Refs | README | LICENSE

commit f3fb4134157d52b233c632668e9b817fe9997740
parent 4414a2e94e877fdea866de6f6dd87c1b4d513106
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 20 Nov 2020 10:31:57 +0100

Fix a invalid pointer indirection on htsky creation

Diffstat:
Msrc/htsky.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/htsky.c b/src/htsky.c @@ -682,7 +682,7 @@ htsky_create exit: if(cache) fclose(cache); - *out_sky = sky; + if(out_sky) *out_sky = sky; return res; error: if(sky) {