diff options
author | Nicolas Capens <capn@google.com> | 2018-04-09 17:38:12 -0400 |
---|---|---|
committer | Nicolas Capens <nicolascapens@google.com> | 2018-04-10 13:29:19 +0000 |
commit | 21cab072fe7897ffbfe199d57fed7ad5cf865286 (patch) | |
tree | e0bc83e3dd7be7ba9ef43f51e29064d5b468b6e4 | |
parent | 466bb2789a9f0c0e7ccc64d72a2866626c1f433f (diff) | |
download | swiftshader-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.h | 2 | ||||
-rw-r--r-- | src/OpenGL/libGL/Context.h | 2 |
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: |