Committing in .
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>
Fri, 13 Jul 2001 11:28:07 +0000 (11:28 +0000)
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>
Fri, 13 Jul 2001 11:28:07 +0000 (11:28 +0000)
 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.
----------------------------------------------------------------------

src/mesa/drivers/glide/fxtris.c
src/mesa/drivers/glide/fxvb.c
src/mesa/main/descrip.mms

index 5129a94476b66fce7c6d279f3eb95b9acc1e93da..150a3f8005241ed6a7d6013944c9de9e1ac8f8de 100644 (file)
@@ -32,6 +32,8 @@
 #include <stdio.h>
 #include <math.h>
 
+#ifdef FX
+
 #include "glheader.h"
 #include "mtypes.h"
 #include "macros.h"
@@ -822,3 +824,19 @@ void fxDDInitTriFuncs( GLcontext *ctx )
    
    (void) fx_print_vertex;
 }
+
+#else
+
+
+/*
+ * Need this to provide at least one external definition.
+ */
+
+extern int gl_fx_dummy_function_tris(void);
+int
+gl_fx_dummy_function_tris(void)
+{
+   return 0;
+}
+
+#endif /* FX */
index 9468d83e3b439d637bc2106e2e08d1f89b9038f6..62e93f8e70b6843e0e2e0fb45f942525d3066383 100644 (file)
@@ -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 */
index faabc1f19a0f443ec5316e70b7fb07ea539c5655..2b662b0b65b0572fb29323ea61cf1747a03fde38 100644 (file)
@@ -112,7 +112,6 @@ RASTER_SOURCES = [.swrast]s_aatriangle.c \
 [.swrast]s_triangle.c \
 [.swrast]s_zoom.c \
 [.swrast_setup]ss_context.c \
-[.swrast_setup]ss_interp.c \
 [.swrast_setup]ss_triangle.c \
 [.swrast_setup]ss_vb.c 
 
@@ -260,7 +259,6 @@ OBJECTS9=[.swrast]s_readpix.obj,\
 [.swrast]s_zoom.obj
 
 OBJECTS10=[.swrast_setup]ss_context.obj,\
-[.swrast_setup]ss_interp.obj,\
 [.swrast_setup]ss_triangle.obj,\
 [.swrast_setup]ss_vb.obj 
 
@@ -469,8 +467,6 @@ imports.obj : imports.c
        $(CC) $(CFLAGS) /obj=[.swrast]s_zoom.obj [.swrast]s_zoom.c
 [.swrast_setup]ss_context.obj : [.swrast_setup]ss_context.c
        $(CC) $(CFLAGS) /obj=[.swrast_setup]ss_context.obj [.swrast_setup]ss_context.c
-[.swrast_setup]ss_interp.obj : [.swrast_setup]ss_interp.c
-       $(CC) $(CFLAGS) /obj=[.swrast_setup]ss_interp.obj [.swrast_setup]ss_interp.c
 [.swrast_setup]ss_triangle.obj : [.swrast_setup]ss_triangle.c
        $(CC) $(CFLAGS) /obj=[.swrast_setup]ss_triangle.obj [.swrast_setup]ss_triangle.c
 [.swrast_setup]ss_vb.obj : [.swrast_setup]ss_vb.c