summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xm_dd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/x11/xm_dd.c')
-rw-r--r--src/mesa/drivers/x11/xm_dd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c
index cbdcd99b39d..f787da2a17e 100644
--- a/src/mesa/drivers/x11/xm_dd.c
+++ b/src/mesa/drivers/x11/xm_dd.c
@@ -1242,6 +1242,8 @@ void xmesa_init_driver_functions( XMesaVisual xmvisual,
driver->TestProxyTexImage = test_proxy_teximage;
#if SWTC
driver->ChooseTextureFormat = choose_tex_format;
+#else
+ (void) choose_tex_format;
#endif
}