summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/swrast/s_texfetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index 741dd876cf1..7bfe3b941a3 100644
--- a/src/mesa/swrast/s_texfetch.c
+++ b/src/mesa/swrast/s_texfetch.c
@@ -115,7 +115,7 @@ static struct {
FetchTexelFunc Fetch2D;
FetchTexelFunc Fetch3D;
}
-texfetch_funcs[MESA_FORMAT_COUNT] =
+texfetch_funcs[] =
{
{
MESA_FORMAT_NONE,