projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05208b2
)
r200: re-adding missing pitch alignment check in blit code
author
Alex Deucher
<alexdeucher@gmail.com>
Wed, 20 Jan 2010 16:18:25 +0000
(11:18 -0500)
committer
Alex Deucher
<alexdeucher@gmail.com>
Wed, 20 Jan 2010 16:19:06 +0000
(11:19 -0500)
lost after switch to common code
src/mesa/drivers/dri/r200/r200_blit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_blit.c
b/src/mesa/drivers/dri/r200/r200_blit.c
index b6fcc6e20c55c7b9c34d7a3da04d87dafcb5074a..e446d532cf7a03ea14502263f4652370aa84667b 100644
(file)
--- a/
src/mesa/drivers/dri/r200/r200_blit.c
+++ b/
src/mesa/drivers/dri/r200/r200_blit.c
@@
-363,6
+363,10
@@
unsigned r200_blit(GLcontext *ctx,
return GL_FALSE;
}
+ if (src_offset % 32 || dst_offset % 32) {
+ return GL_FALSE;
+ }
+
if (0) {
fprintf(stderr, "src: size [%d x %d], pitch %d, "
"offset [%d x %d], format %s, bo %p\n",