diff options
author | Mario Kleiner <[email protected]> | 2012-10-07 03:44:14 +0200 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-11-08 22:53:54 -0800 |
commit | eabbe5c45f5d05822c5f841628afa4008398d553 (patch) | |
tree | 029aa90207e8b83f4e0147771c0ea57045244ad9 /src/glx/xfont.c | |
parent | c299f44782d7d7d6719fce622a121aad58856139 (diff) |
mesa: Don't glPopAttrib() GL_POINT_SPRITE_COORD_ORIGIN on < OpenGL-2.0
The GL_POINT_BIT state attribute GL_POINT_SPRITE_COORD_ORIGIN
is only supported on OpenGL-2.0 or later. Prevent glPopAttrib()
from trying to restore it on OpenGL-1.4 implementations which
support GL_ARB_POINT_SPRITE, as otherwise the sequence...
glPushAttrib(GL_POINT_BIT);
glPopAttrib();
throws an GL_INVALID_ENUM error in glPopAttrib().
See also commit f778174ea1e431a7113f12c12beb4aba9e825a9f
NOTE: This is a candidate for the 9.0 branch.
Signed-off-by: Mario Kleiner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/xfont.c')
0 files changed, 0 insertions, 0 deletions