mesa: fix an issue in _mesa_PointParameterfv().
This commit is contained in:
@@ -200,7 +200,7 @@ _mesa_PointParameterfv( GLenum pname, const GLfloat *params)
|
||||
}
|
||||
break;
|
||||
case GL_POINT_SPRITE_COORD_ORIGIN:
|
||||
if (ctx->Extensions.ARB_point_sprite) {
|
||||
if (ctx->Extensions.ARB_point_sprite | ctx->Extensions.NV_point_sprite) {
|
||||
GLenum value = (GLenum) params[0];
|
||||
if (value != GL_LOWER_LEFT && value != GL_UPPER_LEFT) {
|
||||
_mesa_error(ctx, GL_INVALID_VALUE,
|
||||
|
||||
Reference in New Issue
Block a user