mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
Only set R_MODE with NV_point_sprite
This commit is contained in:
parent
887bd6a46f
commit
177f6398e5
1 changed files with 2 additions and 1 deletions
|
|
@ -1106,7 +1106,8 @@ _mesa_PopAttrib(void)
|
|||
(GLint) point->CoordReplace[u]);
|
||||
}
|
||||
_mesa_set_enable(ctx, GL_POINT_SPRITE_NV,point->PointSprite);
|
||||
_mesa_PointParameteriNV(GL_POINT_SPRITE_R_MODE_NV,
|
||||
if (ctx->Extensions.NV_point_sprite)
|
||||
_mesa_PointParameteriNV(GL_POINT_SPRITE_R_MODE_NV,
|
||||
ctx->Point.SpriteRMode);
|
||||
_mesa_PointParameterfEXT(GL_POINT_SPRITE_COORD_ORIGIN,
|
||||
(GLfloat)ctx->Point.SpriteOrigin);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue