diff options
Diffstat (limited to 'src/gallium/tests/graw/graw_util.h')
-rw-r--r-- | src/gallium/tests/graw/graw_util.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/tests/graw/graw_util.h b/src/gallium/tests/graw/graw_util.h index 1856f0d7df4..72b6bc68c46 100644 --- a/src/gallium/tests/graw/graw_util.h +++ b/src/gallium/tests/graw/graw_util.h @@ -196,12 +196,10 @@ graw_util_viewport(struct graw_info *info, vp.scale[0] = half_width; vp.scale[1] = half_height; vp.scale[2] = half_depth; - vp.scale[3] = 1.0f; vp.translate[0] = half_width + x; vp.translate[1] = half_height + y; vp.translate[2] = half_depth + z; - vp.translate[3] = 0.0f; info->ctx->set_viewport_states(info->ctx, 0, 1, &vp); } |