GLES1: glColor4(f|ub|x)
BUG=angleproject:2306
Change-Id: I4a57732d4c470c821a3847a7ee012cf3ccbba197
Reviewed-on: https://chromium-review.googlesource.com/986454
Commit-Queue: Lingfeng Yang <lfy@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/validationES1.cpp b/src/libANGLE/validationES1.cpp
index 52f50ff..79decd4 100644
--- a/src/libANGLE/validationES1.cpp
+++ b/src/libANGLE/validationES1.cpp
@@ -97,19 +97,19 @@
bool ValidateColor4f(Context *context, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
{
- UNIMPLEMENTED();
+ ANGLE_VALIDATE_IS_GLES1(context);
return true;
}
bool ValidateColor4ub(Context *context, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
{
- UNIMPLEMENTED();
+ ANGLE_VALIDATE_IS_GLES1(context);
return true;
}
bool ValidateColor4x(Context *context, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
{
- UNIMPLEMENTED();
+ ANGLE_VALIDATE_IS_GLES1(context);
return true;
}