meta: Don't call _mesa_Ortho with width or height of 0
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 8 Aug 2013 19:33:04 +0000 (12:33 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 14 Aug 2013 00:53:33 +0000 (17:53 -0700)
commit341fb93c162052e0b1eff7f5e53c49aba498ee9a
treef29a73fe63084fc58620977c301b3f25dc01dc34
parent17bb96b03d340c0aee8e1a332fdcd695e9179486
meta: Don't call _mesa_Ortho with width or height of 0

Fixes failures in oglconform fbo mipmap.manual.color,
mipmap.manual.colorAndDepth, mipmap.automatic, and
mipmap.manualIterateTexTargets subtests.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Cc: "9.2" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/common/meta.c