nouveau: Use _NEW_VIEWPORT instead of hooking through dd_function_table
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 1 Nov 2013 21:56:28 +0000 (14:56 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 5 Nov 2013 15:50:19 +0000 (07:50 -0800)
commit3f30425424dee72c76df4195da24df8ef913af56
treecc7477b25f7c3d9cae20b386498e1b36972050d6
parent3a5b84cece17d4cacb699b8fd47080925228ca9a
nouveau: Use _NEW_VIEWPORT instead of hooking through dd_function_table

This will enable removing the dd_function_table::DepthRange hook in the
near future.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/nouveau/nouveau_state.c