i965: Merge brw_destroy_context() into intelDestroyContext().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Oct 2013 23:13:45 +0000 (16:13 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Oct 2013 21:27:03 +0000 (14:27 -0700)
commitf8fef8ee92576b847a4e963f2bee9bc5d1f280ba
treeb575767718d6a2dcb2ed61db6a0b798556398fe1
parent7601ba649f1d5541e8d77a10701616521b3cd37a
i965: Merge brw_destroy_context() into intelDestroyContext().

Now that i915 and i965 have been split, the separation between
intelDestroyContext and brw_destroy_context is kind of arbitrary.

This patch replaces the only brw->vtbl.destroy() call with the body
of brw_destroy_context (the only implementation of that virtual
function).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_vtbl.c