summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_buffers.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-26 09:54:40 -0700
committerIan Romanick <[email protected]>2011-09-09 12:01:50 -0700
commit17fa6772d7e223f940dd8ec4e4f6cf8cab9a03c7 (patch)
tree427aed464c34474a58e745c618618a195e0e072c /src/mesa/drivers/dri/intel/intel_buffers.h
parent5b6264b42ec7e76565695b452801b775f820955e (diff)
intel: Silence "warning: unused parameter ‘fb’"
The gl_framebuffer was not used in intel_draw_buffer, so remove it. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_buffers.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_buffers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_buffers.h b/src/mesa/drivers/dri/intel/intel_buffers.h
index a7e77976497..896ec5ae9a0 100644
--- a/src/mesa/drivers/dri/intel/intel_buffers.h
+++ b/src/mesa/drivers/dri/intel/intel_buffers.h
@@ -43,7 +43,7 @@ extern struct intel_region *intel_drawbuf_region(struct intel_context *intel);
extern void intel_check_front_buffer_rendering(struct intel_context *intel);
static inline void
-intel_draw_buffer(struct gl_context * ctx, struct gl_framebuffer *fb)
+intel_draw_buffer(struct gl_context * ctx)
{
struct intel_context *intel = intel_context(ctx);