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:52 +0200 |
commit | 1c78515d93994e529cb4fd8d009476c90c55365c (patch) | |
tree | 7fd037503dbed8be363064dc524b558d1113a392 /src/mesa/main/points.c | |
parent | 31dee99e052902bc08ddbb1009748dc982ac3211 (diff) |
mesa: Add gl_point_attrib::CoordReplaceBits bitfield.
The aim is to replace the CoordReplace array by
a bitfield. Until all drivers are converted,
establish the bitfield in parallel to the
CoordReplace array.
v2: Fix bitmask logic.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c index c2f2b6399cb..3fbd5d3046b 100644 --- a/src/mesa/main/points.c +++ b/src/mesa/main/points.c @@ -256,4 +256,5 @@ _mesa_init_point(struct gl_context *ctx) 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 */ } |