diff options
author | Neil Roberts <neil@linux.intel.com> | 2012-08-29 14:10:57 +0100 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2012-08-29 15:01:31 +0100 |
commit | b3f56ccb4858f4f62ee53c74be1a2233bb608cae (patch) | |
tree | 8cc8c4f14b538cbe178f01028f6032d6a226089f /cogl/cogl-depth-state.h | |
parent | 4589c6f15860522dbb256ffb298b395a2e1e421b (diff) | |
download | cogl-b3f56ccb4858f4f62ee53c74be1a2233bb608cae.tar.gz |
tex-driver-gles: Fix subregion uploads without GL_EXT_unpack_subimage
When the GL_EXT_unpack_subimage extension is not available and a
subregion of a texture is uploaded then it should first copy the
subregion to a newly allocated bitmap. However it was then later still
trying to prepare the upload using the original src_x and src_y values
which would cause an assertion failure. This patch fixes it to just
reset those to zero if the subregion is first copied.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit 6f9a62db6f846f1d76e3ca16d9d8cdadf82a7009)
Diffstat (limited to 'cogl/cogl-depth-state.h')
0 files changed, 0 insertions, 0 deletions