- fixed: GLScenePortal did not forward IsSky to its backing object.

This commit is contained in:
Christoph Oelckers 2018-07-22 21:17:30 +02:00
parent fccb0b76c6
commit 2382b9a238
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public:
~GLScenePortal() { delete mScene; } ~GLScenePortal() { delete mScene; }
virtual void * GetSource() const { return mScene->GetSource(); } virtual void * GetSource() const { return mScene->GetSource(); }
virtual const char *GetName() { return mScene->GetName(); } 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 NeedCap() { return true; }
virtual bool NeedDepthBuffer() { return true; } virtual bool NeedDepthBuffer() { return true; }
virtual void DrawContents(HWDrawInfo *di) virtual void DrawContents(HWDrawInfo *di)