[Mesa-dev] [PATCH 2/3] mesa: Fix the error for glCopyBufferSubData() with a buffer of 0.
Brian Paul
brian.e.paul at gmail.com
Thu Jan 26 05:03:39 PST 2012
On Wed, Jan 25, 2012 at 8:51 PM, Eric Anholt <eric at anholt.net> wrote:
> The INVALID_ENUM here may have been trying to catch someone passing
> something bogus as the target rather than having a non-buffer bound.
> The extension spec and the GL 3.2 specs doesn't say anything specific
> for error results for either bad target enums or things that aren't
> buffer objects other than "0". Given that, provide at least correct
> behavior for the specified case.
> ---
> src/mesa/main/bufferobj.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list