Fix build failure due to missing forward declaration. Strict compilation requires symbols used in template functions to have been declared, which will be enforced in future compilers. Bug swiftshader:103 Change-Id: Ibfc05011b1a2938e958dfacf6792477362699dc6 Reviewed-on: https://swiftshader-review.googlesource.com/18448 Reviewed-by: Nicolas Capens <nicolascapens@google.com> Tested-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/Common/Version.h b/src/Common/Version.h index 074bf53..b9288d1 100644 --- a/src/Common/Version.h +++ b/src/Common/Version.h
@@ -15,7 +15,7 @@ #define MAJOR_VERSION 4 #define MINOR_VERSION 0 #define BUILD_VERSION 0 -#define BUILD_REVISION 3 +#define BUILD_REVISION 4 #define STRINGIFY(x) #x #define MACRO_STRINGIFY(x) STRINGIFY(x)
diff --git a/src/OpenGL/libGL/Context.h b/src/OpenGL/libGL/Context.h index 10f4ae0..dbd0737 100644 --- a/src/OpenGL/libGL/Context.h +++ b/src/OpenGL/libGL/Context.h
@@ -41,6 +41,8 @@ class Surface; class Config; + void APIENTRY glVertexAttribArray(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr); + class Command { public: