meta: Don't enable TEXTURE_RECTANGLE when it's unsupported.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Oct 2011 21:01:59 +0000 (14:01 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 6 Oct 2011 18:24:10 +0000 (11:24 -0700)
commit300a4cd9f2fc99af8039d31d19d44582cd82c2e7
tree0b6bc024f1f2004e2800a1759d881e0c518507e5
parent9f2c56fbd68826ba877afb6c10d239e6f52314f5
meta: Don't enable TEXTURE_RECTANGLE when it's unsupported.

In particular, drivers don't enable this in ES 1.1 contexts.

Prior to this, none of the OpenGL ES 1.1 conformance tests passed.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/common/meta.c