OSDN Git Service
(root)
/
android-x86
/
external-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
81f5caa
..
730798c
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: