commit | a2fb72e08f41a67bbed534eb1035ba5bfc2df0e1 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Jul 15 18:53:32 2009 -0700 |
committer | Mathias Agopian <mathias@google.com> | Wed Jul 15 18:53:32 2009 -0700 |
tree | 2fb407fd0012f37cd7812aa4d8f4eae2291c2397 | |
parent | f3ea3e09684c82016e13140d68019b968c793190 [diff] [blame] |
remove libagl's dependency on gralloc_priv.h
diff --git a/opengl/libagl/copybit.cpp b/opengl/libagl/copybit.cpp index 3331026..3c5bcdf3 100644 --- a/opengl/libagl/copybit.cpp +++ b/opengl/libagl/copybit.cpp
@@ -295,6 +295,9 @@ clipRectRegion it(c); status_t err = copybit->stretch(copybit, &dst, &src, &drect, &srect, &it); + if (err != NO_ERROR) { + c->textures.tmu[0].texture->try_copybit = false; + } return err == NO_ERROR ? true : false; }