summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolmaterials.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lldrawpoolmaterials.h')
-rw-r--r--indra/newview/lldrawpoolmaterials.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/newview/lldrawpoolmaterials.h b/indra/newview/lldrawpoolmaterials.h
index e8838c64d6..1f5565afc8 100644
--- a/indra/newview/lldrawpoolmaterials.h
+++ b/indra/newview/lldrawpoolmaterials.h
@@ -55,13 +55,11 @@ public:
/*virtual*/ U32 getVertexDataMask() { return VERTEX_DATA_MASK; }
- /*virtual*/ void render(S32 pass = 0);
- /*virtual*/ void beginRenderPass( S32 pass );
- /*virtual*/ void endRenderPass( S32 pass );
- /*virtual*/ S32 getNumPasses() {return 1;}
+ /*virtual*/ void render(S32 pass = 0) { }
+ /*virtual*/ S32 getNumPasses() {return 0;}
/*virtual*/ void prerender();
- /*virtual*/ S32 getNumDeferredPasses() {return 1;}
+ /*virtual*/ S32 getNumDeferredPasses();
/*virtual*/ void beginDeferredPass(S32 pass);
/*virtual*/ void endDeferredPass(S32 pass);
/*virtual*/ void renderDeferred(S32 pass);