aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolsky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lldrawpoolsky.cpp')
-rw-r--r--linden/indra/newview/lldrawpoolsky.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/lldrawpoolsky.cpp b/linden/indra/newview/lldrawpoolsky.cpp
index 8266892..328b802 100644
--- a/linden/indra/newview/lldrawpoolsky.cpp
+++ b/linden/indra/newview/lldrawpoolsky.cpp
@@ -4,6 +4,7 @@
4 * 4 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 5 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code
7 * The source code in this file ("Source Code") is provided by Linden Lab 8 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0 9 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement 10 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -42,6 +43,7 @@
42#include "llvosky.h" 43#include "llvosky.h"
43#include "llworld.h" // To get water height 44#include "llworld.h" // To get water height
44#include "pipeline.h" 45#include "pipeline.h"
46#include "llglslshader.h"
45 47
46LLDrawPoolSky::LLDrawPoolSky() : 48LLDrawPoolSky::LLDrawPoolSky() :
47 LLFacePool(POOL_SKY) 49 LLFacePool(POOL_SKY)
@@ -55,7 +57,7 @@ LLDrawPool *LLDrawPoolSky::instancePool()
55 57
56void LLDrawPoolSky::prerender() 58void LLDrawPoolSky::prerender()
57{ 59{
58 mVertexShaderLevel = gPipeline.getVertexShaderLevel(LLPipeline::SHADER_ENVIRONMENT); 60 mVertexShaderLevel = LLShaderMgr::getVertexShaderLevel(LLShaderMgr::SHADER_ENVIRONMENT);
59} 61}
60 62
61void LLDrawPoolSky::render(S32 pass) 63void LLDrawPoolSky::render(S32 pass)