mesa: fix proxy texture error handling in glTexStorage()
This is basically a follow-on to 1f5b1f98. Basically, generate GL errors for ordinary invalid parameters for proxy targets the same as for non-proxy targets. Only texture size and OOM errors should be handled specially for proxies. Note: This is a candidate for the stable branches.
Showing with 41 additions and 37 deletions