i965: Simplify the no-reopening-the-winsys-buffer tests.
authorEric Anholt <eric@anholt.net>
Fri, 21 Mar 2014 22:25:49 +0000 (15:25 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 24 Mar 2014 18:15:04 +0000 (11:15 -0700)
commit44e944c87cafd55c00c8837d8223be074436015c
treed1db98ac44cc06bd4b7a9507ce8a7e2a1cced6b8
parente07e7e9f8990cd3dcdc9056bcf81f71d2b947af5
i965: Simplify the no-reopening-the-winsys-buffer tests.

The formatting was weird, and the tests were duplicated, and it is
guaranteed that mt->region exists.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c