summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolsky.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lldrawpoolsky.h')
-rw-r--r--indra/newview/lldrawpoolsky.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/indra/newview/lldrawpoolsky.h b/indra/newview/lldrawpoolsky.h
index 881ce6d542..88d1ce03d0 100644
--- a/indra/newview/lldrawpoolsky.h
+++ b/indra/newview/lldrawpoolsky.h
@@ -14,13 +14,21 @@
class LLSkyTex;
class LLHeavenBody;
-class LLDrawPoolSky : public LLDrawPool
+class LLDrawPoolSky : public LLFacePool
{
private:
LLSkyTex *mSkyTex;
LLHeavenBody *mHB[2]; // Sun and Moon
public:
+ enum
+ {
+ VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX |
+ LLVertexBuffer::MAP_TEXCOORD
+ };
+
+ virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; }
+
LLDrawPoolSky();
/*virtual*/ LLDrawPool *instancePool();
@@ -33,8 +41,8 @@ public:
void setMoon(LLHeavenBody* moon) { mHB[1] = moon; }
void renderSkyCubeFace(U8 side);
- void renderHeavenlyBody(U8 hb, const LLFace* face);
- void renderSunHalo(const LLFace* face);
+ void renderHeavenlyBody(U8 hb, LLFace* face);
+ void renderSunHalo(LLFace* face);
virtual S32 getMaterialAttribIndex() { return 0; }
};