summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/viewport.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2014-01-08 08:52:00 -0800
committerIan Romanick <ian.d.romanick@intel.com>2014-01-20 11:32:00 -0800
commita4bc73f7ba397c03d0d7a796597bd0fea114df91 (patch)
tree563f91725155bbba7ad48205663d2f5b4512a5b9 /src/mesa/main/viewport.h
parent91ad85187682b16458c6bddbf98e79fa446bc947 (diff)
downloadexternal_mesa3d-a4bc73f7ba397c03d0d7a796597bd0fea114df91.zip
external_mesa3d-a4bc73f7ba397c03d0d7a796597bd0fea114df91.tar.gz
external_mesa3d-a4bc73f7ba397c03d0d7a796597bd0fea114df91.tar.bz2
mesa: Change parameter to _mesa_set_viewport to float
This matches the expectations of GL_ARB_viewport_array and the storage type where the values will land. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/main/viewport.h')
-rw-r--r--src/mesa/main/viewport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/viewport.h b/src/mesa/main/viewport.h
index 44bca1b..6e4c738 100644
--- a/src/mesa/main/viewport.h
+++ b/src/mesa/main/viewport.h
@@ -36,8 +36,8 @@ _mesa_Viewport(GLint x, GLint y, GLsizei width, GLsizei height);
extern void
-_mesa_set_viewport(struct gl_context *ctx, unsigned idx, GLint x, GLint y,
- GLsizei width, GLsizei height);
+_mesa_set_viewport(struct gl_context *ctx, unsigned idx, GLfloat x, GLfloat y,
+ GLfloat width, GLfloat height);
extern void GLAPIENTRY