mesa: fix glRead/DrawBuffer(GL_AUXn) error value
authorBrian Paul <brianp@vmware.com>
Thu, 12 Mar 2009 20:14:58 +0000 (14:14 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Mar 2009 20:17:27 +0000 (14:17 -0600)
commit363fc6d64fc8b813f2216b8b28414c6a2c6d2963
treef320595a5205826d21aaa9b07369de60a3f7ff53
parent29309b45b011b4c44721b8f7346272fb22a4d4c2
mesa: fix glRead/DrawBuffer(GL_AUXn) error value

If GL_AUX[123] are passed to glRead/DrawBuffer() when those buffers don't
exist, need to generate GL_INVALID_OPERATION, not GL_INVALID_ENUM.

This regression came from commit 555f0a88182e2b1af809b2d97abdac02814a2f28
src/mesa/main/buffers.c