From 2382b9a238946431d417c73b05618ee4d21e12d4 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 22 Jul 2018 21:17:30 +0200 Subject: [PATCH] - fixed: GLScenePortal did not forward IsSky to its backing object. --- src/gl/scene/gl_portal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/scene/gl_portal.h b/src/gl/scene/gl_portal.h index 8e9900e24..dd645109d 100644 --- a/src/gl/scene/gl_portal.h +++ b/src/gl/scene/gl_portal.h @@ -85,7 +85,7 @@ public: ~GLScenePortal() { delete mScene; } virtual void * GetSource() const { return mScene->GetSource(); } virtual const char *GetName() { return mScene->GetName(); } - virtual bool IsSky() { return false; } + virtual bool IsSky() { return mScene->IsSky(); } virtual bool NeedCap() { return true; } virtual bool NeedDepthBuffer() { return true; } virtual void DrawContents(HWDrawInfo *di)