diff options
author | Brian Paul <[email protected]> | 2012-01-16 10:55:20 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-24 14:12:13 -0700 |
commit | 14da67d9b9b9e30740ef1687c3952a0b5e8b0a54 (patch) | |
tree | dc8747c5cb7ea616e576c663d6af6cb325a062da /src/mesa | |
parent | 827c1d66f671e50d9d96277b1fd3a59309626f66 (diff) |
intel: make intel_renderbuffer_map/unmap() static
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_span.c | 4 | ||||
-rw-r--r-- | 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); |