mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
mesa: use Elements() instead of MAX_TEXTURE_COORD_UNITS
This commit is contained in:
parent
a32e7c487c
commit
82a2d3564a
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ _mesa_init_point(GLcontext *ctx)
|
|||
ctx->Point.PointSprite = GL_FALSE; /* GL_ARB/NV_point_sprite */
|
||||
ctx->Point.SpriteRMode = GL_ZERO; /* GL_NV_point_sprite (only!) */
|
||||
ctx->Point.SpriteOrigin = GL_UPPER_LEFT; /* GL_ARB_point_sprite */
|
||||
for (i = 0; i < MAX_TEXTURE_COORD_UNITS; i++) {
|
||||
for (i = 0; i < Elements(ctx->Point.CoordReplace); i++) {
|
||||
ctx->Point.CoordReplace[i] = GL_FALSE; /* GL_ARB/NV_point_sprite */
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue