summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2013-11-29 23:40:48 -0800
committerTim Angus <tim@ngus.net>2014-06-17 17:43:37 +0100
commit9e1aeca401705a9ffe80d4f235097dabda98fc08 (patch)
treeed72ee3f7440dcc8b01f4707a236ba0cc53369f9 /src
parent9a6d6431b8e111428e47839b726830ed86713bfe (diff)
OpenGL2: Remove redundant GLS_* enum.
Thanks Xycaleth for pointing out.
Diffstat (limited to 'src')
-rw-r--r--src/renderergl2/tr_local.h77
1 files changed, 0 insertions, 77 deletions
diff --git a/src/renderergl2/tr_local.h b/src/renderergl2/tr_local.h
index af892d59..e38e6fb9 100644
--- a/src/renderergl2/tr_local.h
+++ b/src/renderergl2/tr_local.h
@@ -529,83 +529,6 @@ enum
enum
{
- GLS_SRCBLEND_ZERO = (1 << 0),
- GLS_SRCBLEND_ONE = (1 << 1),
- GLS_SRCBLEND_DST_COLOR = (1 << 2),
- GLS_SRCBLEND_ONE_MINUS_DST_COLOR = (1 << 3),
- GLS_SRCBLEND_SRC_ALPHA = (1 << 4),
- GLS_SRCBLEND_ONE_MINUS_SRC_ALPHA = (1 << 5),
- GLS_SRCBLEND_DST_ALPHA = (1 << 6),
- GLS_SRCBLEND_ONE_MINUS_DST_ALPHA = (1 << 7),
- GLS_SRCBLEND_ALPHA_SATURATE = (1 << 8),
-
- GLS_SRCBLEND_BITS = GLS_SRCBLEND_ZERO
- | GLS_SRCBLEND_ONE
- | GLS_SRCBLEND_DST_COLOR
- | GLS_SRCBLEND_ONE_MINUS_DST_COLOR
- | GLS_SRCBLEND_SRC_ALPHA
- | GLS_SRCBLEND_ONE_MINUS_SRC_ALPHA
- | GLS_SRCBLEND_DST_ALPHA
- | GLS_SRCBLEND_ONE_MINUS_DST_ALPHA
- | GLS_SRCBLEND_ALPHA_SATURATE,
-
- GLS_DSTBLEND_ZERO = (1 << 9),
- GLS_DSTBLEND_ONE = (1 << 10),
- GLS_DSTBLEND_SRC_COLOR = (1 << 11),
- GLS_DSTBLEND_ONE_MINUS_SRC_COLOR = (1 << 12),
- GLS_DSTBLEND_SRC_ALPHA = (1 << 13),
- GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA = (1 << 14),
- GLS_DSTBLEND_DST_ALPHA = (1 << 15),
- GLS_DSTBLEND_ONE_MINUS_DST_ALPHA = (1 << 16),
-
- GLS_DSTBLEND_BITS = GLS_DSTBLEND_ZERO
- | GLS_DSTBLEND_ONE
- | GLS_DSTBLEND_SRC_COLOR
- | GLS_DSTBLEND_ONE_MINUS_SRC_COLOR
- | GLS_DSTBLEND_SRC_ALPHA
- | GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA
- | GLS_DSTBLEND_DST_ALPHA
- | GLS_DSTBLEND_ONE_MINUS_DST_ALPHA,
-
- GLS_DEPTHMASK_TRUE = (1 << 17),
-
- GLS_POLYMODE_LINE = (1 << 18),
-
- GLS_DEPTHTEST_DISABLE = (1 << 19),
-
- GLS_DEPTHFUNC_LESS = (1 << 20),
- GLS_DEPTHFUNC_EQUAL = (1 << 21),
-
- GLS_DEPTHFUNC_BITS = GLS_DEPTHFUNC_LESS
- | GLS_DEPTHFUNC_EQUAL,
-
- GLS_ATEST_GT_0 = (1 << 22),
- GLS_ATEST_LT_128 = (1 << 23),
- GLS_ATEST_GE_128 = (1 << 24),
-// GLS_ATEST_GE_CUSTOM = (1 << 25),
-
- GLS_ATEST_BITS = GLS_ATEST_GT_0
- | GLS_ATEST_LT_128
- | GLS_ATEST_GE_128,
-// | GLS_ATEST_GT_CUSTOM,
-
- GLS_REDMASK_FALSE = (1 << 26),
- GLS_GREENMASK_FALSE = (1 << 27),
- GLS_BLUEMASK_FALSE = (1 << 28),
- GLS_ALPHAMASK_FALSE = (1 << 29),
-
- GLS_COLORMASK_BITS = GLS_REDMASK_FALSE
- | GLS_GREENMASK_FALSE
- | GLS_BLUEMASK_FALSE
- | GLS_ALPHAMASK_FALSE,
-
- GLS_STENCILTEST_ENABLE = (1 << 30),
-
- GLS_DEFAULT = GLS_DEPTHMASK_TRUE
-};
-
-enum
-{
ATTR_POSITION = 0x0001,
ATTR_TEXCOORD = 0x0002,
ATTR_LIGHTCOORD = 0x0004,