summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/intel/intel_span.c4
-rw-r--r--src/mesa/drivers/dri/intel/intel_span.h5
2 files changed, 3 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_span.c b/src/mesa/drivers/dri/intel/intel_span.c
index 43b815114ad..d4d3bf970dd 100644
--- a/src/mesa/drivers/dri/intel/intel_span.c
+++ b/src/mesa/drivers/dri/intel/intel_span.c
@@ -178,7 +178,7 @@ intel_offset_S8(uint32_t stride, uint32_t x, uint32_t y)
return u;
}
-void
+static void
intel_renderbuffer_map(struct intel_context *intel, struct gl_renderbuffer *rb)
{
struct gl_context *ctx = &intel->ctx;
@@ -206,7 +206,7 @@ intel_renderbuffer_map(struct intel_context *intel, struct gl_renderbuffer *rb)
intel_set_span_functions(intel, rb);
}
-void
+static void
intel_renderbuffer_unmap(struct intel_context *intel,
struct gl_renderbuffer *rb)
{
diff --git a/src/mesa/drivers/dri/intel/intel_span.h b/src/mesa/drivers/dri/intel/intel_span.h
index d546ecd1585..6640e15fcde 100644
--- a/src/mesa/drivers/dri/intel/intel_span.h
+++ b/src/mesa/drivers/dri/intel/intel_span.h
@@ -35,10 +35,7 @@ extern void intelInitSpanFuncs(struct gl_context * ctx);
extern void intelSpanRenderFinish(struct gl_context * ctx);
extern void intelSpanRenderStart(struct gl_context * ctx);
-void intel_renderbuffer_map(struct intel_context *intel,
- struct gl_renderbuffer *rb);
-void intel_renderbuffer_unmap(struct intel_context *intel,
- struct gl_renderbuffer *rb);
+
void intel_map_vertex_shader_textures(struct gl_context *ctx);
void intel_unmap_vertex_shader_textures(struct gl_context *ctx);
bool intel_span_supports_format(gl_format format);