mesa: return GL_OUT_OF_MEMORY if NewSamplerObject fails
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 21 Jul 2017 12:42:06 +0000 (14:42 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 24 Jul 2017 14:43:38 +0000 (16:43 +0200)
commit986f9e50ded299802fc0ad63e5643f6df62c31ec
tree6765a882de7b5ddf351d2a52a20286034b7cab7b
parentb2448468213e5157d1d12545d049b02104f4edc2
mesa: return GL_OUT_OF_MEMORY if NewSamplerObject fails

This is similar to other functions that create objects.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/samplerobj.c