projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba40bd
)
r300: blits for small dst pitch work just fine
author
Maciej Cencora
<m.cencora@gmail.com>
Sat, 13 Mar 2010 16:28:33 +0000
(17:28 +0100)
committer
Maciej Cencora
<m.cencora@gmail.com>
Sat, 13 Mar 2010 16:30:19 +0000
(17:30 +0100)
src/mesa/drivers/dri/r300/r300_blit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_blit.c
b/src/mesa/drivers/dri/r300/r300_blit.c
index d870c7f852a7cf21fd9e70854b505c8cb0a2ed2c..fa60628a5e00f492efb1e726c981486cc020f164 100644
(file)
--- 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.