diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2014-04-03 08:30:06 +0200 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-04-16 23:00:40 -0700 |
commit | 9927180714662456ff7b895221f67112f2567a53 (patch) | |
tree | 41fa4c65d224e7015679fec35769ac7fcaf4a849 /.gitignore | |
parent | 42a26cb5e441a01d5288b299980f23affaad53fe (diff) |
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: [email protected]
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions