summaryrefslogtreecommitdiff
path: root/src/mesa/main/viewport.c
AgeCommit message (Collapse)Author
2009-08-13mesa: short-circuit no-change in _mesa_DepthRange()Brian Paul
2009-06-16mesa: fix incorrect viewport clamping in _mesa_set_viewport()Brian Paul
A 0 by 0 viewport size is legal. Don't clamp against lower bound of one. The error checking earlier in the function prevents negative values.
2009-03-07mesa: move glViewport and glDepthRange functions into new viewport.c fileBrian Paul
A bit of refactoring with an eye toward ES2 and GL 3.1