mesa: pass the 'caller' function to create_samplers()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 21 Jul 2017 12:42:05 +0000 (14:42 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 24 Jul 2017 14:43:38 +0000 (16:43 +0200)
commitb2448468213e5157d1d12545d049b02104f4edc2
treeef5eadf54cce0e82df5cc1e33e443f1f2cb692a6
parent0bc8315e63d8df76260cc3e3865bc9e3711e7553
mesa: pass the 'caller' function to create_samplers()

To return GL_OUT_OF_MEMORY if NewSamplerObject fails.

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