aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:49 -0500
committerJacek Antonelli2008-08-15 23:45:49 -0500
commit8538c0f35dc5fb780f02930256e627e5266ede4a (patch)
tree58950646aae6534fafe680a5cf879d01cd99d254 /linden/indra/llwindow
parentSecond Life viewer sources 1.20.5 (diff)
downloadmeta-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.h15
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.
256class LLGLEnableBlending : public LLGLState
257{
258public:
259 LLGLEnableBlending(bool enable);
260};
261
262class LLGLEnableAlphaReject : public LLGLState
263{
264public:
265 LLGLEnableAlphaReject(bool enable);
266};
267
268/// TODO: Being deprecated.
255class LLGLEnable : public LLGLState 269class LLGLEnable : public LLGLState
256{ 270{
257public: 271public:
258 LLGLEnable(LLGLenum state) : LLGLState(state, TRUE) {} 272 LLGLEnable(LLGLenum state) : LLGLState(state, TRUE) {}
259}; 273};
260 274
275/// TODO: Being deprecated.
261class LLGLDisable : public LLGLState 276class LLGLDisable : public LLGLState
262{ 277{
263public: 278public: