commit | 0a3139a21e628093893bba8ca0bb0b4742e0522c | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Jun 10 16:01:54 2009 -0700 |
committer | Mathias Agopian <mathias@google.com> | Wed Jun 10 16:15:32 2009 -0700 |
tree | 969d7475aae42250b1b72ff31aa69a41def8482d | |
parent | 7e2a937c4fa91e7c048fdbc37fe2a8dd85361df9 [diff] [blame] |
fix a bug where copybit only renders in the first buffer when used with s/w GL
diff --git a/opengl/libagl/state.cpp b/opengl/libagl/state.cpp index a00f779..a59b3b0 100644 --- a/opengl/libagl/state.cpp +++ b/opengl/libagl/state.cpp
@@ -101,7 +101,7 @@ c->copybits.blitEngine = NULL; c->copybits.minScale = 0; c->copybits.maxScale = 0; - c->copybits.drawSurfaceFd = -1; + c->copybits.drawSurfaceBuffer = 0; #ifdef LIBAGL_USE_GRALLOC_COPYBITS hw_module_t const* module;