summaryrefslogtreecommitdiffstats
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-06-10 16:01:54 -0700
committerMathias Agopian <mathias@google.com>2009-06-10 16:15:32 -0700
commit350d651706d8f484d9aeb539d491526f822fa84a (patch)
tree9018d81b9a591ff6fe71dec5f93c19018991c96b /opengl/libagl/TextureObjectManager.cpp
parent07fcf4c3a91e421dc6f3d17f28264d18e8b2bfdb (diff)
downloadframeworks_base-350d651706d8f484d9aeb539d491526f822fa84a.zip
frameworks_base-350d651706d8f484d9aeb539d491526f822fa84a.tar.gz
frameworks_base-350d651706d8f484d9aeb539d491526f822fa84a.tar.bz2
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 9deb2cf..255ccac 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;
}