summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_aalinetemp.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-12 09:54:04 -0700
committerBrian Paul <[email protected]>2012-01-12 13:02:50 -0700
commit706400f0a7a59bba89eca8e97a1ada45445ee6df (patch)
treeca697e985db3fe5793b99d31f878bbfc1f95eaf4 /src/mesa/swrast/s_aalinetemp.h
parentdecd018b992eb0f7f85338ee39083daca04885b6 (diff)
swrast: use BITFIELD64_BIT() macro to fix MSVC warnings
NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_aalinetemp.h')
-rw-r--r--src/mesa/swrast/s_aalinetemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_aalinetemp.h b/src/mesa/swrast/s_aalinetemp.h
index d99d9d3d904..376ef32d06e 100644
--- a/src/mesa/swrast/s_aalinetemp.h
+++ b/src/mesa/swrast/s_aalinetemp.h
@@ -175,7 +175,7 @@ NAME(line)(struct gl_context *ctx, const SWvertex *v0, const SWvertex *v1)
line.attrPlane[attr][c]);
}
}
- line.span.arrayAttribs |= (1 << attr);
+ line.span.arrayAttribs |= BITFIELD64_BIT(attr);
if (attr >= FRAG_ATTRIB_TEX0 && attr < FRAG_ATTRIB_VAR0) {
const GLuint u = attr - FRAG_ATTRIB_TEX0;
const struct gl_texture_object *obj = ctx->Texture.Unit[u]._Current;