aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-09 07:47:31 +0000
committermarha <marha@users.sourceforge.net>2011-02-09 07:47:31 +0000
commit51a59b7f7f9b134791d3b09673063e4c45ea9eee (patch)
tree52bb43362452042efcdebd64a85d7aa75319b64a /mesalib/src/mesa/main/mtypes.h
parent53bf2508fe3d5bd7889ccf4817fcd2bcc531d6ae (diff)
downloadvcxsrv-51a59b7f7f9b134791d3b09673063e4c45ea9eee.tar.gz
vcxsrv-51a59b7f7f9b134791d3b09673063e4c45ea9eee.tar.bz2
vcxsrv-51a59b7f7f9b134791d3b09673063e4c45ea9eee.zip
libX11 mesa git update 9 Feb 2011
Diffstat (limited to 'mesalib/src/mesa/main/mtypes.h')
-rw-r--r--mesalib/src/mesa/main/mtypes.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/mesalib/src/mesa/main/mtypes.h b/mesalib/src/mesa/main/mtypes.h
index 4e7621239..6f0aac6ee 100644
--- a/mesalib/src/mesa/main/mtypes.h
+++ b/mesalib/src/mesa/main/mtypes.h
@@ -84,23 +84,8 @@
/*@{*/
typedef GLuint64 GLbitfield64;
-#define BITFIELD64_ONE 1ULL
-#define BITFIELD64_ALLONES ~0ULL
-
/** Set a single bit */
-#define BITFIELD64_BIT(b) (BITFIELD64_ONE << (b))
-
-/** Set a mask of the least significant \c b bits */
-#define BITFIELD64_MASK(b) (((b) >= 64) ? BITFIELD64_ALLONES : \
- (BITFIELD64_BIT(b) - 1))
-
-/**
- * Set all bits from l (low bit) to h (high bit), inclusive.
- *
- * \note \C BITFIELD_64_RANGE(0, 63) return 64 set bits.
- */
-#define BITFIELD64_RANGE(l, h) (BITFIELD64_MASK((h) + 1) & ~BITFIELD64_MASK(l))
-/*@}*/
+#define BITFIELD64_BIT(b) (1ULL << (b))
/**