diff options
author | Brian Paul <brianp@vmware.com> | 2011-01-24 19:38:52 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-01-24 19:38:52 -0700 |
commit | 62c66b34303303e6786652efa611a100ae64439a (patch) | |
tree | b224af6ecc4176fff061f2c7efb40f44b41a136c /src/mesa/drivers/common | |
parent | 976ea9d76b44b6e654bd38e3d00f20517be518e0 (diff) |
mesa: plug in fallback function for ctx->Driver.ValidateFramebuffer()
The software renderer doesn't support GL_ALPHA, GL_LUMINANCE, etc
so we should report GL_FRAMEBUFFER_UNSUPPORTED during FBO validation.
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r-- | src/mesa/drivers/common/driverfuncs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index 3c6ecb83f0..5389a50011 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -184,6 +184,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver) driver->RenderTexture = _mesa_render_texture; driver->FinishRenderTexture = _mesa_finish_render_texture; driver->FramebufferRenderbuffer = _mesa_framebuffer_renderbuffer; + driver->ValidateFramebuffer = _mesa_validate_framebuffer; driver->BlitFramebuffer = _swrast_BlitFramebuffer; |