diff options
Diffstat (limited to 'indra/newview/lldrawpoolwater.h')
-rw-r--r-- | indra/newview/lldrawpoolwater.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/indra/newview/lldrawpoolwater.h b/indra/newview/lldrawpoolwater.h index 7e661b3718..fafacf4d34 100644 --- a/indra/newview/lldrawpoolwater.h +++ b/indra/newview/lldrawpoolwater.h @@ -16,7 +16,7 @@ class LLFace; class LLHeavenBody; class LLWaterSurface; -class LLDrawPoolWater: public LLDrawPool +class LLDrawPoolWater: public LLFacePool { protected: LLPointer<LLViewerImage> mHBTex[2]; @@ -25,6 +25,16 @@ protected: const LLWaterSurface *mWaterSurface; public: + static BOOL sSkipScreenCopy; + enum + { + VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX | + LLVertexBuffer::MAP_NORMAL | + LLVertexBuffer::MAP_TEXCOORD + }; + + virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; } + enum { SHADER_LEVEL_RIPPLE = 2, @@ -45,7 +55,7 @@ public: /*virtual*/ LLViewerImage *getDebugTexture(); /*virtual*/ LLColor3 getDebugColor() const; // For AGP debug display - void renderReflection(const LLFace* face); + void renderReflection(LLFace* face); void shade(); void renderShaderSimple(); |