From 6d0b1889f20e032951fc41105f9638952f52fbd0 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Mon, 19 Nov 2018 00:45:26 -0600 Subject: [PATCH] Draw terrain before grass, because terrain is pretty cheap to draw, and hills are a thing and it would be nice if they z-culled. --- indra/newview/lldrawpool.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/lldrawpool.h b/indra/newview/lldrawpool.h index 95af2d0b6..1e4070f24 100644 --- a/indra/newview/lldrawpool.h +++ b/indra/newview/lldrawpool.h @@ -46,12 +46,12 @@ public: enum { // Correspond to LLPipeline render type - POOL_SIMPLE = 1, - POOL_GROUND, + POOL_GROUND = 1, + POOL_TERRAIN, + POOL_SIMPLE, POOL_FULLBRIGHT, POOL_BUMP, POOL_MATERIALS, - POOL_TERRAIN, POOL_TREE, // Singu Note: Before sky for zcull. POOL_ALPHA_MASK, POOL_FULLBRIGHT_ALPHA_MASK,