summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-10-07 08:22:35 -0600
committerBrian Paul <[email protected]>2011-10-07 08:23:24 -0600
commitba69c4a0025e73ec2997795ddb4c3d6a210bfe32 (patch)
tree1d03526ff61be86a5a4a5309200885bb5ae554e7 /src/mesa/swrast/s_context.h
parentd7477ad0a38a178d1e03f8064ee8245b46e24f1e (diff)
swrast: remove unused swrast_texture_image::FetchTexelc method
We only use the float-valued function now.
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r--src/mesa/swrast/s_context.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h
index 12ad688b06c..d7ad764a9e2 100644
--- a/src/mesa/swrast/s_context.h
+++ b/src/mesa/swrast/s_context.h
@@ -112,14 +112,8 @@ typedef void (*validate_texture_image_func)(struct gl_context *ctx,
struct swrast_texture_image;
-typedef void (*FetchTexelFuncC)(const struct swrast_texture_image *texImage,
- GLint col, GLint row, GLint img,
- GLchan *texelOut);
-
/**
- * As above, but returns floats.
- * Used for depth component images and for upcoming signed/float
- * texture images.
+ * Fetch a texel from texture image at given position.
*/
typedef void (*FetchTexelFuncF)(const struct swrast_texture_image *texImage,
GLint col, GLint row, GLint img,
@@ -150,7 +144,6 @@ struct swrast_texture_image
GLint TexelSize; /**< bytes per texel block */
#endif
- FetchTexelFuncC FetchTexelc;
FetchTexelFuncF FetchTexelf;
StoreTexelFunc Store;