summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/angle/src/libANGLE/Texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/angle/src/libANGLE/Texture.cpp')
-rw-r--r--chromium/third_party/angle/src/libANGLE/Texture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/angle/src/libANGLE/Texture.cpp b/chromium/third_party/angle/src/libANGLE/Texture.cpp
index 24e8c221f76..9b31a161d32 100644
--- a/chromium/third_party/angle/src/libANGLE/Texture.cpp
+++ b/chromium/third_party/angle/src/libANGLE/Texture.cpp
@@ -930,6 +930,7 @@ Error Texture::setImage(const Context *context,
Error Texture::setSubImage(const Context *context,
const PixelUnpackState &unpackState,
+ Buffer *unpackBuffer,
GLenum target,
size_t level,
const Box &area,
@@ -942,7 +943,7 @@ Error Texture::setSubImage(const Context *context,
ANGLE_TRY(ensureSubImageInitialized(context, target, level, area));
- return mTexture->setSubImage(context, target, level, area, format, type, unpackState, pixels);
+ return mTexture->setSubImage(context, target, level, area, format, type, unpackState, unpackBuffer, pixels);
}
Error Texture::setCompressedImage(const Context *context,