projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c06b255
)
fix stencil index bug (#964704)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 2 Jun 2004 15:51:31 +0000
(15:51 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 2 Jun 2004 15:51:31 +0000
(15:51 +0000)
src/mesa/swrast/s_stencil.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_stencil.c
b/src/mesa/swrast/s_stencil.c
index
73bddc3
..
4c7ddb8
100644
(file)
--- 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-200
2
Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-200
4
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
}
}