diff options
author | Mathias Fröhlich <[email protected]> | 2016-05-22 14:10:19 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2016-06-16 05:50:53 +0200 |
commit | 291f00fa12a35ad2bcaa8f81309fa06b9cab6802 (patch) | |
tree | bc4456dedc37df7ec2364d373d48889724054c3f /src/mesa/main/points.c | |
parent | d19c69659ae5874b0c78afac5f4e634f7f0f5489 (diff) |
mesa: Remove the now unused CoordsReplace array.
Now that all users are converted, remove the array.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main/points.c')
-rw-r--r-- | src/mesa/main/points.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c index 3fbd5d3046b..6bb1ce69a9d 100644 --- a/src/mesa/main/points.c +++ b/src/mesa/main/points.c @@ -225,8 +225,6 @@ _mesa_PointParameterfv( GLenum pname, const GLfloat *params) void _mesa_init_point(struct gl_context *ctx) { - GLuint i; - ctx->Point.SmoothFlag = GL_FALSE; ctx->Point.Size = 1.0; ctx->Point.Params[0] = 1.0; @@ -253,8 +251,5 @@ _mesa_init_point(struct gl_context *ctx) ctx->Point.SpriteRMode = GL_ZERO; /* GL_NV_point_sprite (only!) */ ctx->Point.SpriteOrigin = GL_UPPER_LEFT; /* GL_ARB_point_sprite */ - for (i = 0; i < ARRAY_SIZE(ctx->Point.CoordReplace); i++) { - ctx->Point.CoordReplace[i] = GL_FALSE; /* GL_ARB/NV_point_sprite */ - } ctx->Point.CoordReplaceBits = 0; /* GL_ARB/NV_point_sprite */ } |