commit | 350d651706d8f484d9aeb539d491526f822fa84a | [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 | 9018d81b9a591ff6fe71dec5f93c19018991c96b | |
parent | 07fcf4c3a91e421dc6f3d17f28264d18e8b2bfdb [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;