diff options
author | Eric Anholt <[email protected]> | 2012-01-19 17:23:25 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-01-27 11:46:10 -0800 |
commit | 796f44d77906342e5912e7da6bdba1ba86bab9f0 (patch) | |
tree | 9531c0ceb24eb4db224251e88be1398b8ae4def3 /src/mesa/drivers/dri/intel/intel_fbo.c | |
parent | 7cac88679bb600f35694e91859c4682c04c32f7a (diff) |
intel: Pass the gl_renderbuffer to render_target_supported() vtable method.
I'm going to want to go looking at it for an integer texture fix.
NOTE: This is a candidate for the 8.0 branch.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.c | 2 |
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 f4a25a182f3..2ba43ac8623 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -769,7 +769,7 @@ intel_validate_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb) continue; } - if (!intel->vtbl.render_target_supported(intel, intel_rb_format(irb))) { + if (!intel->vtbl.render_target_supported(intel, rb)) { DBG("Unsupported HW texture/renderbuffer format attached: %s\n", _mesa_get_format_name(intel_rb_format(irb))); fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED_EXT; |