diff options
-rw-r--r-- | src/gallium/state_trackers/nine/nine_state.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/state_trackers/nine/nine_state.c index 6924449cb7e..37de6a30492 100644 --- a/src/gallium/state_trackers/nine/nine_state.c +++ b/src/gallium/state_trackers/nine/nine_state.c @@ -141,11 +141,9 @@ update_viewport(struct NineDevice9 *device) pvport.scale[0] = (float)vport->Width * 0.5f; pvport.scale[1] = (float)vport->Height * -0.5f; pvport.scale[2] = vport->MaxZ - vport->MinZ; - pvport.scale[3] = 1.0f; pvport.translate[0] = (float)vport->Width * 0.5f + (float)vport->X; pvport.translate[1] = (float)vport->Height * 0.5f + (float)vport->Y; pvport.translate[2] = vport->MinZ; - pvport.translate[3] = 0.0f; pipe->set_viewport_states(pipe, 0, 1, &pvport); } |