diff options
| author | 2009-06-10 16:01:54 -0700 | |
|---|---|---|
| committer | 2009-06-10 16:15:32 -0700 | |
| commit | 350d651706d8f484d9aeb539d491526f822fa84a (patch) | |
| tree | 9018d81b9a591ff6fe71dec5f93c19018991c96b /opengl/libagl/state.cpp | |
| parent | 07fcf4c3a91e421dc6f3d17f28264d18e8b2bfdb (diff) | |
fix a bug where copybit only renders in the first buffer when used with s/w GL
Diffstat (limited to 'opengl/libagl/state.cpp')
| -rw-r--r-- | opengl/libagl/state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/state.cpp b/opengl/libagl/state.cpp index a00f779d6d35..a59b3b046e3f 100644 --- a/opengl/libagl/state.cpp +++ b/opengl/libagl/state.cpp @@ -101,7 +101,7 @@ ogles_context_t *ogles_init(size_t extra) 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; |