diff options
Diffstat (limited to 'linden/indra/newview/lldrawpoolsky.h')
-rw-r--r-- | linden/indra/newview/lldrawpoolsky.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/lldrawpoolsky.h b/linden/indra/newview/lldrawpoolsky.h index fe4cc36..282ec1d 100644 --- a/linden/indra/newview/lldrawpoolsky.h +++ b/linden/indra/newview/lldrawpoolsky.h | |||
@@ -36,12 +36,14 @@ | |||
36 | 36 | ||
37 | class LLSkyTex; | 37 | class LLSkyTex; |
38 | class LLHeavenBody; | 38 | class LLHeavenBody; |
39 | class LLGLSLShader; | ||
39 | 40 | ||
40 | class LLDrawPoolSky : public LLFacePool | 41 | class LLDrawPoolSky : public LLFacePool |
41 | { | 42 | { |
42 | private: | 43 | private: |
43 | LLSkyTex *mSkyTex; | 44 | LLSkyTex *mSkyTex; |
44 | LLHeavenBody *mHB[2]; // Sun and Moon | 45 | LLHeavenBody *mHB[2]; // Sun and Moon |
46 | LLGLSLShader *mShader; | ||
45 | 47 | ||
46 | public: | 48 | public: |
47 | enum | 49 | enum |
@@ -59,6 +61,7 @@ public: | |||
59 | /*virtual*/ void prerender(); | 61 | /*virtual*/ void prerender(); |
60 | /*virtual*/ void render(S32 pass = 0); | 62 | /*virtual*/ void render(S32 pass = 0); |
61 | /*virtual*/ void renderForSelect(); | 63 | /*virtual*/ void renderForSelect(); |
64 | /*virtual*/ void endRenderPass(S32 pass); | ||
62 | void setSkyTex(LLSkyTex* const st) { mSkyTex = st; } | 65 | void setSkyTex(LLSkyTex* const st) { mSkyTex = st; } |
63 | void setSun(LLHeavenBody* sun_flag) { mHB[0] = sun_flag; } | 66 | void setSun(LLHeavenBody* sun_flag) { mHB[0] = sun_flag; } |
64 | void setMoon(LLHeavenBody* moon) { mHB[1] = moon; } | 67 | void setMoon(LLHeavenBody* moon) { mHB[1] = moon; } |
@@ -67,7 +70,6 @@ public: | |||
67 | void renderHeavenlyBody(U8 hb, LLFace* face); | 70 | void renderHeavenlyBody(U8 hb, LLFace* face); |
68 | void renderSunHalo(LLFace* face); | 71 | void renderSunHalo(LLFace* face); |
69 | 72 | ||
70 | virtual S32 getMaterialAttribIndex() { return 0; } | ||
71 | }; | 73 | }; |
72 | 74 | ||
73 | #endif // LL_LLDRAWPOOLSKY_H | 75 | #endif // LL_LLDRAWPOOLSKY_H |