diff options
author | Mathias Fröhlich <[email protected]> | 2018-10-29 06:13:19 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-11-01 06:08:49 +0100 |
commit | b632c072b26998acd1d6e0fa7b5f794965a5238a (patch) | |
tree | 2131d79363fea72e78b82a4781ca0c73d0ec2b19 /src/mesa/state_tracker | |
parent | 2dc951b7c350868b574694031bb5665767722aed (diff) |
vbo: Remove set but not used weak field from _mesa_prim.
The only reader of the weak field in _mesa_prim is pretty
console printing. By that, remove the weak field from _mesa_prim.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_rasterpos.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_rasterpos.c b/src/mesa/state_tracker/st_cb_rasterpos.c index 13cc9a7f320..fecaaf77da8 100644 --- a/src/mesa/state_tracker/st_cb_rasterpos.c +++ b/src/mesa/state_tracker/st_cb_rasterpos.c @@ -206,7 +206,6 @@ new_draw_rastpos_stage(struct gl_context *ctx, struct draw_context *draw) rs->prim.indexed = 0; rs->prim.begin = 1; rs->prim.end = 1; - rs->prim.weak = 0; rs->prim.start = 0; rs->prim.count = 1; |