Update CHROMIUM_copy_texture entry points to the ES3 versions.
BUG=angleproject:1932
Change-Id: Ia45f8522320af1d747fbfb57468e8b881b033543
Reviewed-on: https://chromium-review.googlesource.com/459101
Reviewed-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/validationES2.cpp b/src/libANGLE/validationES2.cpp
index 900d341..c24fa48 100644
--- a/src/libANGLE/validationES2.cpp
+++ b/src/libANGLE/validationES2.cpp
@@ -3171,7 +3171,10 @@
bool ValidateCopyTextureCHROMIUM(Context *context,
GLuint sourceId,
+ GLint sourceLevel,
+ GLenum destTarget,
GLuint destId,
+ GLint destLevel,
GLint internalFormat,
GLenum destType,
GLboolean unpackFlipY,
@@ -3249,7 +3252,10 @@
bool ValidateCopySubTextureCHROMIUM(Context *context,
GLuint sourceId,
+ GLint sourceLevel,
+ GLenum destTarget,
GLuint destId,
+ GLint destLevel,
GLint xoffset,
GLint yoffset,
GLint x,
@@ -3332,7 +3338,6 @@
return false;
}
- GLenum destTarget = dest->getTarget();
ASSERT(destTarget != GL_TEXTURE_CUBE_MAP);
if (dest->getWidth(sourceTarget, 0) == 0 || dest->getHeight(sourceTarget, 0) == 0)
{