summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>2000-11-22 08:42:14 +0000
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>2000-11-22 08:42:14 +0000
commit22f5dc74c75a4a2fdf06392719060f12f358b552 (patch)
tree3a33784aaf992d222278aa99672cb5e63933fbcd
parent5e3bc0c2a2bcdf59949410f94c9b705fc1281ce8 (diff)
Modified Files:
Mesa/src/descrip.mms Mesa/src/swrast/s_lines.c VMS compile support Added some Type casts to avoid warnings ----------------------------------------------------------------------
-rw-r--r--src/mesa/main/descrip.mms1
-rw-r--r--src/mesa/swrast/s_lines.c6
2 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/main/descrip.mms b/src/mesa/main/descrip.mms
index d38160848d..eff2bd406c 100644
--- a/src/mesa/main/descrip.mms
+++ b/src/mesa/main/descrip.mms
@@ -520,4 +520,3 @@ imports.obj : imports.c
[.math]m_xform.obj : [.math]m_xform.c
$(CC) $(CFLAGS) /obj=[.math]m_xform.obj [.math]m_xform.c
-.include mms_depend.
diff --git a/src/mesa/swrast/s_lines.c b/src/mesa/swrast/s_lines.c
index e4cc074b6d..bec818c249 100644
--- a/src/mesa/swrast/s_lines.c
+++ b/src/mesa/swrast/s_lines.c
@@ -1,4 +1,4 @@
-/* $Id: s_lines.c,v 1.7 2000/11/19 23:10:26 brianp Exp $ */
+/* $Id: s_lines.c,v 1.8 2000/11/22 08:42:15 joukj Exp $ */
/*
* Mesa 3-D graphics library
@@ -586,7 +586,7 @@ static void flat_textured_line( GLcontext *ctx,
GLfloat *pbs = PB->s[0];
GLfloat *pbt = PB->t[0];
GLfloat *pbu = PB->u[0];
- GLchan *color = vert0->color;
+ GLchan *color = (GLchan*) vert0->color;
PB_SET_COLOR( PB, color[0], color[1], color[2], color[3] );
count = PB->count;
@@ -827,7 +827,7 @@ static void flat_multitextured_line( GLcontext *ctx,
GLfixed *pbfog = PB->fog;
GLchan (*pbrgba)[4] = PB->rgba;
GLchan (*pbspec)[3] = PB->spec;
- GLchan *color = vert0->color;
+ GLchan *color = (GLchan*) vert0->color;
GLchan sRed = vert0->specular[0];
GLchan sGreen = vert0->specular[1];
GLchan sBlue = vert0->specular[2];