dri_interface: add an error-returning version of createImageFromRenderbuffer
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 10 Oct 2017 11:58:46 +0000 (13:58 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 10 Oct 2017 11:58:46 +0000 (13:58 +0200)
commitf12e1c558614156fa1650abe4dc6b4ccec63bada
tree15885bda0b9d23eba34ca063ca5f1e1057e7c198
parent9a8f13a33b2d08b34c78de67ce90e0198bfdf0b3
dri_interface: add an error-returning version of createImageFromRenderbuffer

We ought to be able to distinguish between allocation errors and bad
parameters (non-existent renderbuffer object).

Bumps the version of the DRI Image extension to 17.

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
include/GL/internal/dri_interface.h