aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolwlsky.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lldrawpoolwlsky.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/linden/indra/newview/lldrawpoolwlsky.h b/linden/indra/newview/lldrawpoolwlsky.h
index 89453c4..c7a1f3f 100644
--- a/linden/indra/newview/lldrawpoolwlsky.h
+++ b/linden/indra/newview/lldrawpoolwlsky.h
@@ -17,7 +17,8 @@
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 20 * online at
21 * http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 22 *
22 * By copying, modifying or distributing this software, you acknowledge 23 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 24 * that you have read and understood your obligations described above,
@@ -40,7 +41,7 @@ class LLDrawPoolWLSky : public LLDrawPool {
40public: 41public:
41 42
42 static const U32 SKY_VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX | 43 static const U32 SKY_VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX |
43 LLVertexBuffer::MAP_TEXCOORD; 44 LLVertexBuffer::MAP_TEXCOORD0;
44 static const U32 STAR_VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX | 45 static const U32 STAR_VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX |
45 LLVertexBuffer::MAP_COLOR; 46 LLVertexBuffer::MAP_COLOR;
46 47
@@ -49,6 +50,11 @@ public:
49 50
50 /*virtual*/ BOOL isDead() { return FALSE; } 51 /*virtual*/ BOOL isDead() { return FALSE; }
51 52
53 /*virtual*/ S32 getNumPostDeferredPasses() { return getNumPasses(); }
54 /*virtual*/ void beginPostDeferredPass(S32 pass) { beginRenderPass(pass); }
55 /*virtual*/ void endPostDeferredPass(S32 pass) { endRenderPass(pass); }
56 /*virtual*/ void renderPostDeferred(S32 pass) { render(pass); }
57
52 /*virtual*/ LLViewerImage *getDebugTexture(); 58 /*virtual*/ LLViewerImage *getDebugTexture();
53 /*virtual*/ void beginRenderPass( S32 pass ); 59 /*virtual*/ void beginRenderPass( S32 pass );
54 /*virtual*/ void endRenderPass( S32 pass ); 60 /*virtual*/ void endRenderPass( S32 pass );