diff options
Diffstat (limited to 'opengl/libagl/copybit.cpp')
-rw-r--r-- | opengl/libagl/copybit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ static bool copybit(GLint x, GLint y, 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; } |