summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-06-10 16:01:54 -0700
committer Mathias Agopian <mathias@google.com> 2009-06-10 16:15:32 -0700
commit0a3139a21e628093893bba8ca0bb0b4742e0522c (patch)
tree969d7475aae42250b1b72ff31aa69a41def8482d /opengl/libagl/TextureObjectManager.cpp
parent7e2a937c4fa91e7c048fdbc37fe2a8dd85361df9 (diff)
fix a bug where copybit only renders in the first buffer when used with s/w GL
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
-rw-r--r--opengl/libagl/TextureObjectManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/TextureObjectManager.cpp b/opengl/libagl/TextureObjectManager.cpp
index 9deb2cf9ee..255ccac356 100644
--- a/opengl/libagl/TextureObjectManager.cpp
+++ b/opengl/libagl/TextureObjectManager.cpp
@@ -56,7 +56,7 @@ void EGLTextureObject::init()
generate_mipmap = GL_FALSE;
direct = GL_FALSE;
#ifdef LIBAGL_USE_GRALLOC_COPYBITS
- copybits_fd = -1;
+ try_copybit = false;
#endif // LIBAGL_USE_GRALLOC_COPYBITS
buffer = 0;
}