From 9403cc3aba0769dc6925cea3ec20aa95d491f516 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 18 Jan 2012 17:39:33 -0700 Subject: swrast: remove unused StoreTexel code No longer needed since we do all rendering to texture with the buffer mapping and pixel packing functions. --- src/mesa/swrast/s_context.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/mesa/swrast/s_context.h') diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index 2fb61eaee5a..ae239a9a806 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -120,14 +120,10 @@ typedef void (*FetchTexelFunc)(const struct swrast_texture_image *texImage, GLfloat *texelOut); -typedef void (*StoreTexelFunc)(struct swrast_texture_image *texImage, - GLint col, GLint row, GLint img, - const void *texel); - /** * Subclass of gl_texture_image. * We need extra fields/info to keep tracking of mapped texture buffers, - * strides and Fetch/Store functions. + * strides and Fetch functions. */ struct swrast_texture_image { @@ -148,7 +144,6 @@ struct swrast_texture_image GLubyte *Buffer; FetchTexelFunc FetchTexel; - StoreTexelFunc Store; }; -- cgit v1.2.3