gallium: remove unused pipe_viewport_state::translate[3] and scale[3]
Almost all drivers ignore them.
This commit is contained in:
@@ -776,11 +776,9 @@ draw_textured_quad(struct gl_context *ctx, GLint x, GLint y, GLfloat z,
|
||||
vp.scale[0] = 0.5f * w;
|
||||
vp.scale[1] = -0.5f * h;
|
||||
vp.scale[2] = 0.5f;
|
||||
vp.scale[3] = 1.0f;
|
||||
vp.translate[0] = 0.5f * w;
|
||||
vp.translate[1] = 0.5f * h;
|
||||
vp.translate[2] = 0.5f;
|
||||
vp.translate[3] = 0.0f;
|
||||
cso_set_viewport(cso, &vp);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user