summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-06-02 15:51:31 +0000
committerBrian Paul <[email protected]>2004-06-02 15:51:31 +0000
commit9fcb9c3ac7adb7eaa37a8da4e741ce99dcd651a2 (patch)
tree19af5c0d32924f3710b8c685abad3f08e14f3213 /src/mesa
parentc06b25594e5effe34a90c067e1a3da0f61cf2b13 (diff)
fix stencil index bug (#964704)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_stencil.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_stencil.c b/src/mesa/swrast/s_stencil.c
index 73bddc32fb8..4c7ddb86cd9 100644
--- a/src/mesa/swrast/s_stencil.c
+++ b/src/mesa/swrast/s_stencil.c
@@ -1,9 +1,8 @@
-
/*
* Mesa 3-D graphics library
- * Version: 4.1
+ * Version: 6.1
*
- * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2004 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"),
@@ -1183,7 +1182,7 @@ clear_software_stencil_buffer( GLcontext *ctx )
#else
GLint i;
for (i = 0; i < width; i++)
- stencil[x] = ctx->Stencil.Clear;
+ stencil[i] = ctx->Stencil.Clear;
#endif
}
}