OSDN Git Service

meta: Do a massive unindent (and rename) of blitframebuffer_texture().
authorEric Anholt <eric@anholt.net>
Tue, 4 Feb 2014 22:52:27 +0000 (14:52 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 13 Feb 2014 00:17:11 +0000 (16:17 -0800)
commit431decf16f0971534e32ec4c6c24cbce281a06f6
tree00c35a387811df04280a8fb34c000548d1b41bcd
parent3e4ccf499e1d0dd8bf6864f3aba96d58f0a96048
meta: Do a massive unindent (and rename) of blitframebuffer_texture().

This function is only handling the color case.  We can just unindent as
long as we're willing to do the check for the bit outside of the
function.

v2: Rebase on idr's changes, drop readAtt check that's always non-null
    anyway (it's a pointer into to the statically-allocated attachments
    array in the renderbuffer).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/mesa/drivers/common/meta_blit.c