diff options
author | Alex Deucher <[email protected]> | 2010-01-20 11:18:25 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2010-01-20 11:19:06 -0500 |
commit | 156c90e5c3289fda8290bdd04c5cb5041a65113d (patch) | |
tree | b79e7d6f9a7bba88217b49cf6bc97521cc7fca5f /src/mesa/drivers/dri/r200 | |
parent | 05208b298d218071bae75a52a16e4483ca64c94d (diff) |
r200: re-adding missing pitch alignment check in blit code
lost after switch to common code
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_blit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_blit.c b/src/mesa/drivers/dri/r200/r200_blit.c index b6fcc6e20c5..e446d532cf7 100644 --- 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", |