projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
glcore: drop outdated sources files intented for xorg
[mesa.git]
/
src
/
mesa
/
swrast
/
s_depth.c
diff --git
a/src/mesa/swrast/s_depth.c
b/src/mesa/swrast/s_depth.c
index cb584b5de8f50b54081ef71cebb54d3b3bde2c45..408174c990fb165941a8ee0df4015852e42347b5 100644
(file)
--- a/
src/mesa/swrast/s_depth.c
+++ b/
src/mesa/swrast/s_depth.c
@@
-1289,7
+1289,7
@@
_swrast_read_depth_span_uint( GLcontext *ctx, struct gl_renderbuffer *rb,
GLint dx = -x;
GLint i;
for (i = 0; i < dx; i++)
GLint dx = -x;
GLint i;
for (i = 0; i < dx; i++)
- depth[i] = 0
.0
;
+ depth[i] = 0;
x = 0;
n -= dx;
depth += dx;
x = 0;
n -= dx;
depth += dx;
@@
-1298,7
+1298,7
@@
_swrast_read_depth_span_uint( GLcontext *ctx, struct gl_renderbuffer *rb,
GLint dx = x + n - (GLint) rb->Width;
GLint i;
for (i = 0; i < dx; i++)
GLint dx = x + n - (GLint) rb->Width;
GLint i;
for (i = 0; i < dx; i++)
- depth[n - i - 1] = 0
.0
;
+ depth[n - i - 1] = 0;
n -= dx;
}
if (n <= 0) {
n -= dx;
}
if (n <= 0) {