summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxvb.c
diff options
context:
space:
mode:
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>2001-07-13 11:28:07 +0000
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>2001-07-13 11:28:07 +0000
commit0cab1db7763392f9df2c3dfa598d6a81d5af4606 (patch)
tree312ff78f5fe365e4f54adb4d92895ebc8768fbe5 /src/mesa/drivers/glide/fxvb.c
parent1182ffeec39bf419928ba862c225e80a439fee7a (diff)
Committing in .
Modified Files: Mesa/src/descrip.mms Mesa/src/FX/fxtris.c Mesa/src/FX/fxvb.c -updated OpenVMS makefile -fixed compilation if FX is NOT defined. ----------------------------------------------------------------------
Diffstat (limited to 'src/mesa/drivers/glide/fxvb.c')
-rw-r--r--src/mesa/drivers/glide/fxvb.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mesa/drivers/glide/fxvb.c b/src/mesa/drivers/glide/fxvb.c
index 9468d83e3b4..62e93f8e70b 100644
--- a/src/mesa/drivers/glide/fxvb.c
+++ b/src/mesa/drivers/glide/fxvb.c
@@ -24,6 +24,8 @@
*/
/* $XFree86: xc/lib/GL/mesa/src/drv/tdfx/tdfxvb.c,v 1.7 2000/11/08 05:02:43 dawes Exp $ */
+#ifdef FX
+
#include "glheader.h"
#include "mtypes.h"
#include "mem.h"
@@ -391,3 +393,18 @@ void fxFreeVB( GLcontext *ctx )
fxMesa->UbyteColor.Ptr = 0;
}
}
+#else
+
+
+/*
+ * Need this to provide at least one external definition.
+ */
+
+extern int gl_fx_dummy_function_vb(void);
+int
+gl_fx_dummy_function_vb(void)
+{
+ return 0;
+}
+
+#endif /* FX */