diff options
author | Jacek Antonelli | 2008-08-15 23:45:49 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:49 -0500 |
commit | 8538c0f35dc5fb780f02930256e627e5266ede4a (patch) | |
tree | 58950646aae6534fafe680a5cf879d01cd99d254 /linden/indra/llwindow | |
parent | Second Life viewer sources 1.20.5 (diff) | |
download | meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.zip meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.tar.gz meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.tar.bz2 meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.tar.xz |
Second Life viewer sources 1.20.6
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llwindow/llgl.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linden/indra/llwindow/llgl.h b/linden/indra/llwindow/llgl.h index 25ad0d6..e8f17bf 100644 --- a/linden/indra/llwindow/llgl.h +++ b/linden/indra/llwindow/llgl.h | |||
@@ -252,12 +252,27 @@ protected: | |||
252 | BOOL mIsEnabled; | 252 | BOOL mIsEnabled; |
253 | }; | 253 | }; |
254 | 254 | ||
255 | // New LLGLState class wrappers that don't depend on actual GL flags. | ||
256 | class LLGLEnableBlending : public LLGLState | ||
257 | { | ||
258 | public: | ||
259 | LLGLEnableBlending(bool enable); | ||
260 | }; | ||
261 | |||
262 | class LLGLEnableAlphaReject : public LLGLState | ||
263 | { | ||
264 | public: | ||
265 | LLGLEnableAlphaReject(bool enable); | ||
266 | }; | ||
267 | |||
268 | /// TODO: Being deprecated. | ||
255 | class LLGLEnable : public LLGLState | 269 | class LLGLEnable : public LLGLState |
256 | { | 270 | { |
257 | public: | 271 | public: |
258 | LLGLEnable(LLGLenum state) : LLGLState(state, TRUE) {} | 272 | LLGLEnable(LLGLenum state) : LLGLState(state, TRUE) {} |
259 | }; | 273 | }; |
260 | 274 | ||
275 | /// TODO: Being deprecated. | ||
261 | class LLGLDisable : public LLGLState | 276 | class LLGLDisable : public LLGLState |
262 | { | 277 | { |
263 | public: | 278 | public: |