summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-18 17:39:33 -0700
committerBrian Paul <[email protected]>2012-01-24 14:12:37 -0700
commit9403cc3aba0769dc6925cea3ec20aa95d491f516 (patch)
tree4bbac734c8e2b3240b072445ebf9ae39851302c0 /src/mesa/swrast/s_context.h
parent1caf698191fb871850311353862eb7fc927f9f9c (diff)
swrast: remove unused StoreTexel code
No longer needed since we do all rendering to texture with the buffer mapping and pixel packing functions.
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r--src/mesa/swrast/s_context.h7
1 files changed, 1 insertions, 6 deletions
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;
};