commit | f13901eaa98241b52062a3ae3b016badce3dee0c | [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 | 8512c75b18d91f64188eb9d5fd19ef20135fbc6a | |
parent | 5fdd6ed871ef6bc5f3c860a1363699fae01132b0 [diff] [blame] |
remove libagl's dependency on gralloc_priv.h
diff --git a/opengl/libagl/copybit.cpp b/opengl/libagl/copybit.cpp index 3331026..3c5bcdf 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; }