Update gl2.h and update entry points.
Some method signatures were updated. Types like GLclampf and GLvoid
were replaced with other equivalents.
BUG=angleproject:1309
Change-Id: I05e8e2072c5a063d87ad96a855b907424661e680
Reviewed-on: https://chromium-review.googlesource.com/475011
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/validationES31.cpp b/src/libANGLE/validationES31.cpp
index 46ae06b..b8ad6ef 100644
--- a/src/libANGLE/validationES31.cpp
+++ b/src/libANGLE/validationES31.cpp
@@ -117,7 +117,7 @@
return true;
}
-bool ValidateDrawIndirectBase(Context *context, GLenum mode, const GLvoid *indirect)
+bool ValidateDrawIndirectBase(Context *context, GLenum mode, const void *indirect)
{
if (context->getClientVersion() < ES_3_1)
{
@@ -162,7 +162,7 @@
return true;
}
-bool ValidateDrawArraysIndirect(Context *context, GLenum mode, const GLvoid *indirect)
+bool ValidateDrawArraysIndirect(Context *context, GLenum mode, const void *indirect)
{
const State &state = context->getGLState();
gl::TransformFeedback *curTransformFeedback = state.getCurrentTransformFeedback();
@@ -195,10 +195,7 @@
return true;
}
-bool ValidateDrawElementsIndirect(Context *context,
- GLenum mode,
- GLenum type,
- const GLvoid *indirect)
+bool ValidateDrawElementsIndirect(Context *context, GLenum mode, GLenum type, const void *indirect)
{
if (!ValidateDrawElementsBase(context, type))
return false;