aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_matrix.h
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <[email protected]>2013-11-13 16:24:56 -0700
committerIan Romanick <[email protected]>2014-01-20 11:31:53 -0800
commit5b84226c31e941219422f6d60c31524081b7a188 (patch)
treeddebed7b00cfdb732f4f252907998eea5c4202cf /src/mesa/math/m_matrix.h
parentd4dc359875126c432e46e3d1da8610a066d21302 (diff)
mesa: Converty gl_viewport_attrib::X, ::Y, ::Width, and ::Height to float
v4: Split out from a single megapatch. Suggested by Ken. Also make meta's save_state::ViewportX, ::ViewportY, ::ViewportW, and ::ViewportH to match gl_viewport_attrib. Signed-off-by: Courtney Goeltzenleuchter <[email protected]> Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/math/m_matrix.h')
-rw-r--r--src/mesa/math/m_matrix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/math/m_matrix.h b/src/mesa/math/m_matrix.h
index fc65f84dcf4..dddce70190f 100644
--- a/src/mesa/math/m_matrix.h
+++ b/src/mesa/math/m_matrix.h
@@ -122,7 +122,7 @@ _math_matrix_frustum( GLmatrix *mat,
GLfloat nearval, GLfloat farval );
extern void
-_math_matrix_viewport(GLmatrix *m, GLint x, GLint y, GLint width, GLint height,
+_math_matrix_viewport(GLmatrix *m, GLfloat x, GLfloat y, GLfloat width, GLfloat height,
GLdouble zNear, GLdouble zFar, GLdouble depthMax);
extern void