In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and GLushort...
authorBrian <brian@yutani.localnet.net>
Thu, 19 Apr 2007 17:23:26 +0000 (11:23 -0600)
committerBrian <brian@yutani.localnet.net>
Thu, 19 Apr 2007 17:23:26 +0000 (11:23 -0600)
commit6bde08815fae2a5ba95e0446d8c73040d1f321bc
tree1f07eae60b4c9e3daaa072f88120b45e158eec15
parent8e6207396c6314d07614c80670f4e3196e3a8551
In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and GLushort->GLuint conversion.

This improves performance and avoids int/float/int conversion problems that
can introduce errors during glCopyTexImage().  Another fix for the depth peeling
algorithm.
src/mesa/main/image.c