aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_fbo.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-11-15 11:43:40 -0800
committerEric Anholt <[email protected]>2011-11-22 13:58:38 -0800
commit6661b7596f3b26a773ccde79f018179713b6b6e0 (patch)
treeaf3b4def8cd89aa5fe2798929d3b8cb77a1bafc5 /src/mesa/drivers/dri/intel/intel_fbo.c
parente589ebdf23342111587b9ebd0f0dcb2580a2dac2 (diff)
intel: Add the context to the render_target_supported() vtbl method.
We're going to want to provide different answers per chipset generation. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index dc3e5dda14f..c2e9b9be5d9 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -1363,7 +1363,7 @@ intel_validate_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb)
}
if (!intel_span_supports_format(irb->Base.Format) ||
- !intel->vtbl.render_target_supported(irb->Base.Format)) {
+ !intel->vtbl.render_target_supported(intel, irb->Base.Format)) {
DBG("Unsupported texture/renderbuffer format attached: %s\n",
_mesa_get_format_name(irb->Base.Format));
fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED_EXT;