aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_buffers.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-06-20 12:09:27 -0700
committerKenneth Graunke <[email protected]>2013-06-28 13:35:23 -0700
commit7f210bf5358443f38c1c7b758eaa28b37e09578a (patch)
treefd157b874b718b28ffcb501428e7b5f373adedae /src/mesa/drivers/dri/i915/intel_buffers.c
parent6bdc5ecbbae185e098b34baf95e533b0c067b807 (diff)
i915: Remove miscellanous uncalled gen4 code from formerly shared files.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_buffers.c')
-rw-r--r--src/mesa/drivers/dri/i915/intel_buffers.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_buffers.c b/src/mesa/drivers/dri/i915/intel_buffers.c
index fdad480cb39..1a42ba94dcc 100644
--- a/src/mesa/drivers/dri/i915/intel_buffers.c
+++ b/src/mesa/drivers/dri/i915/intel_buffers.c
@@ -35,20 +35,6 @@
#include "main/renderbuffer.h"
/**
- * Return pointer to current color reading region, or NULL.
- */
-struct intel_region *
-intel_readbuf_region(struct intel_context *intel)
-{
- struct intel_renderbuffer *irb
- = intel_renderbuffer(intel->ctx.ReadBuffer->_ColorReadBuffer);
- if (irb && irb->mt)
- return irb->mt->region;
- else
- return NULL;
-}
-
-/**
* Check if we're about to draw into the front color buffer.
* If so, set the intel->front_buffer_dirty field to true.
*/