summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texutil.c b/src/mesa/main/texutil.c
index 7bb46481e05..0871c9ec243 100644
--- a/src/mesa/main/texutil.c
+++ b/src/mesa/main/texutil.c
@@ -968,6 +968,8 @@ _mesa_convert_texsubimage3d( GLint mesaFormat, /* dest */
return convert_texsubimage3d_tab[mesaFormat]( &convert );
}
+#endif
+
/* Nearest filtering only (for broken hardware that can't support
@@ -1036,5 +1038,3 @@ do { \
_mesa_problem(NULL,"unexpected bytes/pixel in _mesa_rescale_teximage2d");
}
}
-
-#endif