Revert "mesa: Return INVALID_OPERATION when type is known but not allowed"
authorMatt Turner <mattst88@gmail.com>
Wed, 30 Jan 2013 00:35:30 +0000 (16:35 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 30 Jan 2013 18:56:01 +0000 (10:56 -0800)
commita527b2192e3cb4a68af927ab405e38181d2fcf75
tree6878d301d0cfa4343887acbeb03bb897c50d12ed
parent7cccf46ec4ebcaee406d6ea38e0b232e1d64f7ae
Revert "mesa: Return INVALID_OPERATION when type is known but not allowed"

This reverts commit 2906e2034c9d674601960a5b586b6e986e6ef04f.

Fixes a regression in the glean depthStencil test.

Reverting this does not affect any tests in es3conform, so a more recent
patch must have also fixed the failure this one was intended to fix.

Reported-by: lu hua <huax.lu@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59494
src/mesa/main/glformats.c