Make GL_ANGLE_framebuffer_blit enableable.
BUG=angleproject:1523
Change-Id: I5d6df35d2e65be6d73ec6100e3351ba5f9ff53a2
Reviewed-on: https://chromium-review.googlesource.com/688639
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/libANGLE/validationES2.cpp b/src/libANGLE/validationES2.cpp
index 17af01a..7737131 100644
--- a/src/libANGLE/validationES2.cpp
+++ b/src/libANGLE/validationES2.cpp
@@ -4410,7 +4410,7 @@
bool ValidateBindFramebuffer(ValidationContext *context, GLenum target, GLuint framebuffer)
{
- if (!ValidFramebufferTarget(target))
+ if (!ValidFramebufferTarget(context, target))
{
ANGLE_VALIDATION_ERR(context, InvalidEnum(), InvalidFramebufferTarget);
return false;
@@ -4795,7 +4795,7 @@
bool ValidateCheckFramebufferStatus(ValidationContext *context, GLenum target)
{
- if (!ValidFramebufferTarget(target))
+ if (!ValidFramebufferTarget(context, target))
{
ANGLE_VALIDATION_ERR(context, InvalidEnum(), InvalidFramebufferTarget);
return false;
@@ -5929,7 +5929,7 @@
GLenum renderbuffertarget,
GLuint renderbuffer)
{
- if (!ValidFramebufferTarget(target))
+ if (!ValidFramebufferTarget(context, target))
{
ANGLE_VALIDATION_ERR(context, InvalidEnum(), InvalidFramebufferTarget);
return false;