diff options
author | Brian Paul <brianp@vmware.com> | 2014-02-01 10:51:43 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2014-02-03 12:50:03 -0700 |
commit | 349b76a55364c0bb33daa4e1ebe36dd689e35807 (patch) | |
tree | db03e9f8d3722faa9fa522322e384bc93c7f8b60 /include | |
parent | 307fd76053da39242ada2701b0d32b2177fe3493 (diff) | |
download | external_mesa3d-349b76a55364c0bb33daa4e1ebe36dd689e35807.zip external_mesa3d-349b76a55364c0bb33daa4e1ebe36dd689e35807.tar.gz external_mesa3d-349b76a55364c0bb33daa4e1ebe36dd689e35807.tar.bz2 |
mesa: change GL_ALL_ATTRIB_BITS to 0xFFFFFFFF
This has been wrong for many years. It was originally 0x000FFFFF and long
ago there was discussion about whether GL_ALL_ATTRIB_BITS should include
the then-new GL_MULTISAMPLE_BIT bit. Eventually the ARB decided that
glPushAttrib(GL_ALL_ATTRIB_BITS) should save all current and future
attribute groups (hence ~0). Unfortunately, Mesa's gl.h was never updated.
This was just recently spotted by Eric Anholt and reported as a bug to the
ARB. Ian, Jon Leech and I discussed it at the ARB meeting and decided to
change Mesa's value to reflect the ARB's decision.
Acked-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/gl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h index 48343f6..4e2932d 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -694,7 +694,7 @@ typedef double GLclampd; /* double precision float in [0,1] */ #define GL_LIST_BIT 0x00020000 #define GL_TEXTURE_BIT 0x00040000 #define GL_SCISSOR_BIT 0x00080000 -#define GL_ALL_ATTRIB_BITS 0x000FFFFF +#define GL_ALL_ATTRIB_BITS 0xFFFFFFFF /* OpenGL 1.1 */ |