OSDN Git Service

i965/blorp: Use passed in framebuffer rather than ctx->DrawBuffer
authorChris Forbes <chrisf@ijw.co.nz>
Mon, 30 Sep 2013 07:43:21 +0000 (20:43 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Wed, 2 Oct 2013 05:31:24 +0000 (18:31 +1300)
commit72edba16592e6b1589f2db410b9ab2939e196a07
tree20728e34335a255253aeaa09bb12506b3a76bd5a
parentef8cc3e51f7c9c6134a76e299908c74e02800ae3
i965/blorp: Use passed in framebuffer rather than ctx->DrawBuffer

We have the destination framebuffer object passed in; there's no need to
go digging around in the context.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp