mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
applied Keith's fix for the Loki ice bug
This commit is contained in:
parent
179870a5b8
commit
ad2f32155f
1 changed files with 4 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: clip.c,v 1.6 2000/02/25 03:55:39 keithw Exp $ */
|
||||
/* $Id: clip.c,v 1.7 2000/04/13 14:53:25 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -375,13 +375,10 @@ void gl_update_clipmask( GLcontext *ctx )
|
|||
|
||||
if (ctx->Visual->RGBAflag)
|
||||
{
|
||||
if (ctx->Light.ShadeModel==GL_SMOOTH)
|
||||
{
|
||||
mask |= CLIP_RGBA0;
|
||||
mask |= CLIP_RGBA0;
|
||||
|
||||
if (ctx->TriangleCaps & (DD_TRI_LIGHT_TWOSIDE|DD_SEPERATE_SPECULAR))
|
||||
mask |= CLIP_RGBA1;
|
||||
}
|
||||
if (ctx->TriangleCaps & (DD_TRI_LIGHT_TWOSIDE|DD_SEPERATE_SPECULAR))
|
||||
mask |= CLIP_RGBA1;
|
||||
|
||||
if (ctx->Texture.ReallyEnabled & 0xf0)
|
||||
mask |= CLIP_TEX1|CLIP_TEX0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue