intel: Replace the non-getBuffersWithFormat compat path with an error message.
authorEric Anholt <eric@anholt.net>
Wed, 4 Jul 2012 17:52:34 +0000 (10:52 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 17 Jul 2012 15:18:04 +0000 (08:18 -0700)
commit1b4374d364f877d1b7d01e1231adeee2e0f63a4d
tree35a2126df18a4fa5b4cda0eb0e5db19c24796ca1
parent9bbf7c139bb02fe9fc3822bf2ca9ac5963d0d5af
intel: Replace the non-getBuffersWithFormat compat path with an error message.

It's been broken (using NULL getBuffersWithFormat() instead of
getBuffers()) due to a copy and paste error for a year now.
GetBuffersWithFormat has been around since 2009, so I don't feel any
guilt in not supporting it.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_screen.c