replace | with & (Laurent Desnogues)

This commit is contained in:
Brian Paul
2003-02-06 13:44:55 +00:00
parent 66dce0875e
commit 7d0522e16a
+4 -4
View File
@@ -1,10 +1,10 @@
/* $Id: s_texture.c,v 1.78 2003/01/26 14:37:16 brianp Exp $ */
/* $Id: s_texture.c,v 1.79 2003/02/06 13:44:55 brianp Exp $ */
/*
* Mesa 3-D graphics library
* Version: 5.0
* Version: 5.1
*
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
* Copyright (C) 1999-2003 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"),
@@ -4148,7 +4148,7 @@ _swrast_texture_span( GLcontext *ctx, struct sw_span *span )
(swrast->TexelBuffer + unit * (span->end * 4 * sizeof(GLchan)));
/* adjust texture lod (lambda) */
if (span->arrayMask | SPAN_LAMBDA) {
if (span->arrayMask & SPAN_LAMBDA) {
if (texUnit->LodBias != 0.0F) {
/* apply LOD bias, but don't clamp yet */
GLuint i;