mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 19:20:12 +01:00
mesa: re-dimension RasterTexCoords and CoordReplace
These are limited to the number of texture coordinate units.
This commit is contained in:
parent
89c8ff3382
commit
ea81daf954
1 changed files with 2 additions and 2 deletions
|
|
@ -631,7 +631,7 @@ struct gl_current_attrib
|
|||
GLfloat RasterColor[4];
|
||||
GLfloat RasterSecondaryColor[4];
|
||||
GLfloat RasterIndex;
|
||||
GLfloat RasterTexCoords[MAX_TEXTURE_UNITS][4];
|
||||
GLfloat RasterTexCoords[MAX_TEXTURE_COORD_UNITS][4];
|
||||
GLboolean RasterPosValid;
|
||||
/*@}*/
|
||||
};
|
||||
|
|
@ -963,7 +963,7 @@ struct gl_point_attrib
|
|||
GLfloat Threshold; /**< GL_EXT_point_parameters */
|
||||
GLboolean _Attenuated; /**< True if Params != [1, 0, 0] */
|
||||
GLboolean PointSprite; /**< GL_NV/ARB_point_sprite */
|
||||
GLboolean CoordReplace[MAX_TEXTURE_UNITS]; /**< GL_ARB_point_sprite */
|
||||
GLboolean CoordReplace[MAX_TEXTURE_COORD_UNITS]; /**< GL_ARB_point_sprite*/
|
||||
GLenum SpriteRMode; /**< GL_NV_point_sprite (only!) */
|
||||
GLenum SpriteOrigin; /**< GL_ARB_point_sprite */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue