aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow/llgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llwindow/llgl.h')
-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: