main: Add utility function _mesa_lookup_renderbuffer_err.
authorLaura Ekstrand <laura@jlekstrand.net>
Sat, 24 Jan 2015 00:38:36 +0000 (16:38 -0800)
committerFredrik Höglund <fredrik@kde.org>
Thu, 14 May 2015 13:48:12 +0000 (15:48 +0200)
commit2bb138e7ec24b9e56715a53f9c4e911b99d4a97b
tree2dda6bd5ea7f1242d89f1bdd11ccc2c04166a8b4
parentf868de7d6b1370105414eb3d83b4b38b598bff66
main: Add utility function _mesa_lookup_renderbuffer_err.

[Fredrik: Generate an error for non-existent renderbuffers]

Reviewed-by: Fredrik Höglund <fredrik@kde.org>
Signed-off-by: Fredrik Höglund <fredrik@kde.org>
src/mesa/main/fbobject.c
src/mesa/main/fbobject.h