[Mesa-dev] [Bug 76894] Piglit/spec/EXT_framebuffer_object/fbo-bind-renderbuffer failed
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Apr 16 23:08:32 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=76894
Kenneth Graunke <kenneth at whitecape.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Kenneth Graunke <kenneth at whitecape.org> ---
Fixed in master by:
commit 9927180714662456ff7b895221f67112f2567a53
Author: Samuel Iglesias Gonsalvez <siglesias at igalia.com>
Date: Thu Apr 3 08:30:06 2014 +0200
mesa: fix check for dummy renderbuffer in
_mesa_FramebufferRenderbufferEXT()
According to the spec:
<renderbuffertarget> must be RENDERBUFFER and <renderbuffer>
should be set to the name of the renderbuffer object to be
attached to the framebuffer. <renderbuffer> must be either
zero or the name of an existing renderbuffer object of type
<renderbuffertarget>, otherwise an INVALID_OPERATION error is
generated.
This patch changes the previous returned GL_INVALID_VALUE to
GL_INVALID_OPERATION.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76894
Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias at igalia.com>
Thanks for finding and fixing this!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140417/125fb63b/attachment.html>
More information about the mesa-dev
mailing list