summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2010-03-13 17:28:33 +0100
committerMaciej Cencora <[email protected]>2010-03-13 17:30:19 +0100
commit18ecf41835059d4506402641833e7911d7de3ec4 (patch)
treed64ded2f32167c67c74ef629f3658170a09f659a /src/mesa
parentaba40bd4345e36fb56817673369b275f0e9a9c43 (diff)
r300: blits for small dst pitch work just fine
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r300_blit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_blit.c b/src/mesa/drivers/dri/r300/r300_blit.c
index d870c7f852a..fa60628a5e0 100644
--- a/src/mesa/drivers/dri/r300/r300_blit.c
+++ b/src/mesa/drivers/dri/r300/r300_blit.c
@@ -582,12 +582,6 @@ unsigned r300_blit(GLcontext *ctx,
if (dst_pitch % 2 > 0)
++dst_pitch;
- /* Rendering to small buffer doesn't work.
- * Looks like a hw limitation.
- */
- if (dst_pitch < 32)
- return 0;
-
/* Need to clamp the region size to make sure
* we don't read outside of the source buffer
* or write outside of the destination buffer.