projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0bca08
)
disable some assertions which pop up during window resize, but can be ignored for now
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 10 Oct 2007 22:19:49 +0000
(16:19 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Wed, 10 Oct 2007 22:19:49 +0000
(16:19 -0600)
src/mesa/pipe/softpipe/sp_surface.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/softpipe/sp_surface.c
b/src/mesa/pipe/softpipe/sp_surface.c
index 27d4f064be0af5fd142bc8e13456f0f598ce2914..29b5c9631c2789fd80b5c715a6c9dbec7d3e0067 100755
(executable)
--- a/
src/mesa/pipe/softpipe/sp_surface.c
+++ b/
src/mesa/pipe/softpipe/sp_surface.c
@@
-56,9
+56,10
@@
a8r8g8b8_read_quad_f_swz(struct softpipe_surface *sps, int x, int y,
unsigned i, j;
assert(sps->surface.format == PIPE_FORMAT_U_A8_R8_G8_B8);
+#if 0
assert(x < (int) sps->surface.width - 1);
assert(y < (int) sps->surface.height - 1);
-
+#endif
for (i = 0; i < 2; i++) { /* loop over pixel row */
for (j = 0; j < 2; j++) { /* loop over pixel column */
const unsigned p = src[j];