projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b5c931
)
mesa: Call RENDER_FINISH on the zero pixel case.
author
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 8 May 2008 03:52:57 +0000
(11:52 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 8 May 2008 03:52:57 +0000
(11:52 +0800)
src/mesa/swrast/s_drawpix.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_drawpix.c
b/src/mesa/swrast/s_drawpix.c
index 81f5caa27065b9edf288fa145a5f11f59416271d..730798c90847524e39db4ca2dfd3695c119f6cca 100644
(file)
--- a/
src/mesa/swrast/s_drawpix.c
+++ b/
src/mesa/swrast/s_drawpix.c
@@
-840,8
+840,10
@@
_swrast_DrawPixels( GLcontext *ctx,
_swrast_validate_derived( ctx );
pixels = _mesa_map_drawpix_pbo(ctx, unpack, pixels);
- if (!pixels)
+ if (!pixels) {
+ RENDER_FINISH(swrast,ctx);
return;
+ }
switch (format) {
case GL_STENCIL_INDEX: