meta: Drop redundant FBO creation code in GenerateMipmaps.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 6 Mar 2014 03:21:00 +0000 (19:21 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 8 Mar 2014 06:45:11 +0000 (22:45 -0800)
commit9afca9198471e77a65f3ab70f2a9b4a67396b1a0
tree53316fbdb695d27310a7962a3bef96f4c1c2f57d
parent1285bc87ac85fb744a1bc84b12fe2cbd528b9b08
meta: Drop redundant FBO creation code in GenerateMipmaps.

fallback_required() already creates the FBO in order to check whether we
can render to the format.  So it's guaranteed to exist.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/common/meta_generate_mipmap.c