From 14da67d9b9b9e30740ef1687c3952a0b5e8b0a54 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 Jan 2012 10:55:20 -0700 Subject: [PATCH] intel: make intel_renderbuffer_map/unmap() static --- src/mesa/drivers/dri/intel/intel_span.c | 4 ++-- src/mesa/drivers/dri/intel/intel_span.h | 5 +---- 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); -- 2.30.2