From 413941e1a3155b29a190ab7ecfd844b1a5c2e460 Mon Sep 17 00:00:00 2001 From: Tapani Pälli Date: Mon, 18 Feb 2013 09:12:27 +0200 Subject: gles2: a stub implementation for GL_EXT_discard_framebuffer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch implements a stub for GL_EXT_discard_framebuffer with required checks listed by the extension specification. This extension is required by GLBenchmark 2.5 when compiled with OpenGL ES 2.0 as the rendering backend. Signed-off-by: Tapani Pälli Reviewed-by: Brian Paul Reviewed-and-tested-by: Chad Versace --- src/mesa/drivers/common/driverfuncs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers/common/driverfuncs.c') diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index aab61e1a4a8..43c9de97f50 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -174,6 +174,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver) driver->ValidateFramebuffer = _mesa_validate_framebuffer; driver->BlitFramebuffer = _swrast_BlitFramebuffer; + driver->DiscardFramebuffer = NULL; _mesa_init_texture_barrier_functions(driver); -- cgit v1.2.3