aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Capens <capn@google.com>2018-04-09 17:38:12 -0400
committerNicolas Capens <nicolascapens@google.com>2018-04-10 13:29:19 +0000
commit21cab072fe7897ffbfe199d57fed7ad5cf865286 (patch)
treee0bc83e3dd7be7ba9ef43f51e29064d5b468b6e4
parent466bb2789a9f0c0e7ccc64d72a2866626c1f433f (diff)
downloadswiftshader-21cab072fe7897ffbfe199d57fed7ad5cf865286.tar.gz
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>
-rw-r--r--src/Common/Version.h2
-rw-r--r--src/OpenGL/libGL/Context.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/Common/Version.h b/src/Common/Version.h
index 074bf5314..b9288d177 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 10f4ae08e..dbd0737f7 100644
--- a/src/OpenGL/libGL/Context.h
+++ b/src/OpenGL/libGL/Context.h
@@ -41,6 +41,8 @@ namespace gl
class Surface;
class Config;
+ void APIENTRY glVertexAttribArray(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr);
+
class Command
{
public: