r300: blits for small dst pitch work just fine

This commit is contained in:
Maciej Cencora
2010-03-13 17:28:33 +01:00
parent aba40bd434
commit 18ecf41835
-6
View File
@@ -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.