summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_depth.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-03-29 03:59:34 +0000
committerBrian Paul <[email protected]>2006-03-29 03:59:34 +0000
commit519a2e7cb7b8f026bd5fe711cdf12a20df1c46ae (patch)
tree3a5ace19786c23d217f9ed64fdad20e2726f3e53 /src/mesa/swrast/s_depth.c
parentb687531f693548afc6d7cf7b5c6fb76926cc0dc9 (diff)
Move the computation of the viewport matrix into a new update_viewport_matrix()
function since the matrix depends on the viewport params and the framebuffer's depth buffer resolution. Fixes some renderbuffer / depth range issues. This simplifies the _mesa_set_viewport() and _mesa_DepthRange() functions too.
Diffstat (limited to 'src/mesa/swrast/s_depth.c')
0 files changed, 0 insertions, 0 deletions