mesa: Move parameter validation from _mesa_set_viewport to _mesa_Viewport
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 5 Nov 2013 23:36:13 +0000 (15:36 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:29:42 +0000 (11:29 -0800)
commit83bd850cc7f83c87fa271d6d501db86fae698f9a
treea41853abee37050597344d05cf1c55b4d0399617
parenta9c73fb778a41b422a811c67b4aba806d4dfb7c8
mesa: Move parameter validation from _mesa_set_viewport to _mesa_Viewport

Internal callers should do the right thing.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/viewport.c