meta: Use common routine to configure fixed-function TNL state
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 14 Dec 2013 19:36:32 +0000 (11:36 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 12 Feb 2014 00:00:12 +0000 (16:00 -0800)
commit5e5d87ff329530664772a2c3ea4377c146591622
treebbba9c5a1b5e650a32aa62b02af20f1add3f1cac
parent35e8de383cec285fbc9cf6dfc514fc7ea9b42ba7
meta: Use common routine to configure fixed-function TNL state

Also... glOrtho(-1.0, 1.0, -1.0, 1.0, -1.0, 1.0) *is* the identity
matrix, so drop the unnecessary call to _mesa_Ortho.

v2: Rename setup_ff_TNL_for_blit() to setup_ff_tnl_for_blit().  Seems
    silly to capitalize one out of two to three acronyms in the name
    (change by anholt, acked by idr).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/common/meta.c