diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llrender/llcubemap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/llrender/llcubemap.h b/linden/indra/llrender/llcubemap.h index 45bfa16..8c83e6e 100644 --- a/linden/indra/llrender/llcubemap.h +++ b/linden/indra/llrender/llcubemap.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2002-2008, Linden Research, Inc. | 7 | * Copyright (c) 2002-2009, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -53,6 +53,7 @@ public: | |||
53 | 53 | ||
54 | void enableTexture(S32 stage); | 54 | void enableTexture(S32 stage); |
55 | void enableTextureCoords(S32 stage); | 55 | void enableTextureCoords(S32 stage); |
56 | S32 getStage(void) { return mTextureStage; } | ||
56 | 57 | ||
57 | void disable(void); | 58 | void disable(void); |
58 | void disableTexture(void); | 59 | void disableTexture(void); |
@@ -77,6 +78,7 @@ public: | |||
77 | static bool sUseCubeMaps; | 78 | static bool sUseCubeMaps; |
78 | 79 | ||
79 | protected: | 80 | protected: |
81 | friend class LLTexUnit; | ||
80 | ~LLCubeMap(); | 82 | ~LLCubeMap(); |
81 | LLGLenum mTargets[6]; | 83 | LLGLenum mTargets[6]; |
82 | LLPointer<LLImageGL> mImages[6]; | 84 | LLPointer<LLImageGL> mImages[6]; |