r200: re-adding missing pitch alignment check in blit code

lost after switch to common code
This commit is contained in:
Alex Deucher
2010-01-20 11:18:25 -05:00
parent 05208b298d
commit 156c90e5c3
+4
View File
@@ -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",