summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/svga
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/svga')
-rw-r--r--src/mesa/drivers/svga/svgamesa15.c12
-rw-r--r--src/mesa/drivers/svga/svgamesa16.c12
-rw-r--r--src/mesa/drivers/svga/svgamesa24.c12
-rw-r--r--src/mesa/drivers/svga/svgamesa32.c13
-rw-r--r--src/mesa/drivers/svga/svgamesa8.c12
5 files changed, 56 insertions, 5 deletions
diff --git a/src/mesa/drivers/svga/svgamesa15.c b/src/mesa/drivers/svga/svgamesa15.c
index cb73a85679..28cd7a4264 100644
--- a/src/mesa/drivers/svga/svgamesa15.c
+++ b/src/mesa/drivers/svga/svgamesa15.c
@@ -1,4 +1,4 @@
-/* $Id: svgamesa15.c,v 1.5 2000/01/31 22:10:06 tanner Exp $ */
+/* $Id: svgamesa15.c,v 1.6 2000/06/14 21:59:07 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -198,4 +198,14 @@ void __read_rgba_pixels15( const GLcontext *ctx,
}
}
+#else
+
+
+/* silence compiler warning */
+extern void _mesa_svga15_dummy_function(void);
+void _mesa_svga15_dummy_function(void)
+{
+}
+
+
#endif
diff --git a/src/mesa/drivers/svga/svgamesa16.c b/src/mesa/drivers/svga/svgamesa16.c
index 6057d7d732..817d4bb606 100644
--- a/src/mesa/drivers/svga/svgamesa16.c
+++ b/src/mesa/drivers/svga/svgamesa16.c
@@ -1,4 +1,4 @@
-/* $Id: svgamesa16.c,v 1.5 2000/01/31 22:10:06 tanner Exp $ */
+/* $Id: svgamesa16.c,v 1.6 2000/06/14 21:59:07 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -200,4 +200,14 @@ void __read_rgba_pixels16( const GLcontext *ctx,
}
}
+#else
+
+
+/* silence compiler warning */
+extern void _mesa_svga16_dummy_function(void);
+void _mesa_svga16_dummy_function(void)
+{
+}
+
+
#endif
diff --git a/src/mesa/drivers/svga/svgamesa24.c b/src/mesa/drivers/svga/svgamesa24.c
index f8b29faadd..6f7cc9c221 100644
--- a/src/mesa/drivers/svga/svgamesa24.c
+++ b/src/mesa/drivers/svga/svgamesa24.c
@@ -1,4 +1,4 @@
-/* $Id: svgamesa24.c,v 1.6 2000/01/31 22:10:07 tanner Exp $ */
+/* $Id: svgamesa24.c,v 1.7 2000/06/14 21:59:07 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -233,4 +233,14 @@ void __read_rgba_pixels24( const GLcontext *ctx,
}
}
+#else
+
+
+/* silence compiler warning */
+extern void _mesa_svga24_dummy_function(void);
+void _mesa_svga24_dummy_function(void)
+{
+}
+
+
#endif
diff --git a/src/mesa/drivers/svga/svgamesa32.c b/src/mesa/drivers/svga/svgamesa32.c
index 46e8c684ca..1fbef3d26d 100644
--- a/src/mesa/drivers/svga/svgamesa32.c
+++ b/src/mesa/drivers/svga/svgamesa32.c
@@ -1,4 +1,4 @@
-/* $Id: svgamesa32.c,v 1.6 2000/01/31 22:10:07 tanner Exp $ */
+/* $Id: svgamesa32.c,v 1.7 2000/06/14 21:59:07 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -206,5 +206,16 @@ void __read_rgba_pixels32( const GLcontext *ctx,
}
}
+
+#else
+
+
+/* silence compiler warning */
+extern void _mesa_svga32_dummy_function(void);
+void _mesa_svga32_dummy_function(void)
+{
+}
+
+
#endif
diff --git a/src/mesa/drivers/svga/svgamesa8.c b/src/mesa/drivers/svga/svgamesa8.c
index 99ea05e712..2578428178 100644
--- a/src/mesa/drivers/svga/svgamesa8.c
+++ b/src/mesa/drivers/svga/svgamesa8.c
@@ -1,4 +1,4 @@
-/* $Id: svgamesa8.c,v 1.5 2000/01/31 22:10:07 tanner Exp $ */
+/* $Id: svgamesa8.c,v 1.6 2000/06/14 21:59:07 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -176,4 +176,14 @@ void __read_ci32_pixels8( const GLcontext *ctx,
}
+#else
+
+
+/* silence compiler warning */
+extern void _mesa_svga8_dummy_function(void);
+void _mesa_svga8_dummy_function(void)
+{
+}
+
+
#endif