Auto-generate validation headers.
This will make them easier to maintain. Add to add new features.
Bug: angleproject:2964
Change-Id: I8c1f92e0d0ca15fc4f555f6c537fa9311320ef7d
Reviewed-on: https://chromium-review.googlesource.com/c/1334429
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
diff --git a/src/libANGLE/validationES1.cpp b/src/libANGLE/validationES1.cpp
index b8b73e7..f79cb36 100644
--- a/src/libANGLE/validationES1.cpp
+++ b/src/libANGLE/validationES1.cpp
@@ -6,7 +6,7 @@
// validationES1.cpp: Validation functions for OpenGL ES 1.0 entry point parameters
-#include "libANGLE/validationES1.h"
+#include "libANGLE/validationES1_autogen.h"
#include "common/debug.h"
#include "libANGLE/Context.h"
@@ -1556,7 +1556,7 @@
bool ValidateRenderbufferStorageOES(Context *context,
GLenum target,
- GLint internalformat,
+ GLenum internalformat,
GLsizei width,
GLsizei height)
{