diff options
Diffstat (limited to 'src/mesa/swrast/s_pointtemp.h')
-rw-r--r-- | src/mesa/swrast/s_pointtemp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/swrast/s_pointtemp.h b/src/mesa/swrast/s_pointtemp.h index 60d7f45f14..f33be6d665 100644 --- a/src/mesa/swrast/s_pointtemp.h +++ b/src/mesa/swrast/s_pointtemp.h @@ -1,21 +1,21 @@ -/* $Id: s_pointtemp.h,v 1.4 2001/03/07 05:06:12 brianp Exp $ */ +/* $Id: s_pointtemp.h,v 1.5 2001/03/12 00:48:42 gareth Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -96,7 +96,7 @@ NAME ( GLcontext *ctx, const SWvertex *vert ) texcoord[u][0] = vert->texcoord[u][0] / vert->texcoord[u][3]; texcoord[u][1] = vert->texcoord[u][1] / vert->texcoord[u][3]; texcoord[u][2] = vert->texcoord[u][2] / vert->texcoord[u][3]; - } + } else { texcoord[u][0] = vert->texcoord[u][0]; texcoord[u][1] = vert->texcoord[u][1]; |