diff options
author | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2014-01-31 12:20:42 +0400 |
---|---|---|
committer | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2014-01-31 12:20:42 +0400 |
commit | 9c01a4d980c16b33375cc6c29dcef6863e49e05e (patch) | |
tree | a9d552db987b7c5ded3a7bbc9e77efa44a5124a4 /GLESv1_CM/yagl_gles1_calls.c | |
parent | 6c563de1dac3ba10462640a343463133eb5bb6ab (diff) | |
download | emulator-yagl-9c01a4d980c16b33375cc6c29dcef6863e49e05e.tar.gz emulator-yagl-9c01a4d980c16b33375cc6c29dcef6863e49e05e.tar.bz2 emulator-yagl-9c01a4d980c16b33375cc6c29dcef6863e49e05e.zip |
YaGL: Integer vertex attributes and uniforms supported
Change-Id: I3f6d7ab114f627da0463eb6bc0898e7a6d6629fb
Diffstat (limited to 'GLESv1_CM/yagl_gles1_calls.c')
-rw-r--r-- | GLESv1_CM/yagl_gles1_calls.c | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/GLESv1_CM/yagl_gles1_calls.c b/GLESv1_CM/yagl_gles1_calls.c index 1191214..37e9894 100644 --- a/GLESv1_CM/yagl_gles1_calls.c +++ b/GLESv1_CM/yagl_gles1_calls.c @@ -979,7 +979,8 @@ YAGL_API void glNormalPointer(GLenum type, GLsizei stride, const GLvoid* pointer GL_FALSE, stride, ctx->base.vbo, - (GLint)pointer)) { + (GLint)pointer, + 0)) { YAGL_SET_ERR(GL_INVALID_VALUE); } } else { @@ -1002,7 +1003,8 @@ YAGL_API void glNormalPointer(GLenum type, GLsizei stride, const GLvoid* pointer type == GL_FIXED, GL_FALSE, stride, - pointer)) { + pointer, + 0)) { YAGL_SET_ERR(GL_INVALID_VALUE); } } @@ -1040,7 +1042,8 @@ YAGL_API void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLv GL_FALSE, stride, ctx->base.vbo, - (GLint)pointer)) { + (GLint)pointer, + 0)) { YAGL_SET_ERR(GL_INVALID_VALUE); } } else { @@ -1063,7 +1066,8 @@ YAGL_API void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLv type == GL_FIXED || type == GL_BYTE, GL_FALSE, stride, - pointer)) { + pointer, + 0)) { YAGL_SET_ERR(GL_INVALID_VALUE); } } @@ -1100,7 +1104,8 @@ YAGL_API void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvo GL_FALSE, stride, ctx->base.vbo, - (GLint)pointer)) { + (GLint)pointer, + 0)) { YAGL_SET_ERR(GL_INVALID_VALUE); } } else { @@ -1123,7 +1128,8 @@ YAGL_API void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvo type == GL_FIXED, GL_FALSE, stride, - pointer)) { + pointer, + 0)) { YAGL_SET_ERR(GL_INVALID_VALUE); } } @@ -1161,7 +1167,8 @@ YAGL_API void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const G GL_FALSE, stride, ctx->base.vbo, - (GLint)pointer)) { + (GLint)pointer, + 0)) { YAGL_SET_ERR(GL_INVALID_VALUE); } } else { @@ -1184,7 +1191,8 @@ YAGL_API void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const G type == GL_FIXED || type == GL_BYTE, GL_FALSE, stride, - pointer)) { + pointer, + 0)) { YAGL_SET_ERR(GL_INVALID_VALUE); } } @@ -1221,7 +1229,8 @@ YAGL_API void glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid* p GL_FALSE, stride, ctx->base.vbo, - (GLint)pointer)) { + (GLint)pointer, + 0)) { YAGL_SET_ERR(GL_INVALID_VALUE); } } else { @@ -1244,7 +1253,8 @@ YAGL_API void glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid* p type == GL_FIXED, GL_FALSE, stride, - pointer)) { + pointer, + 0)) { YAGL_SET_ERR(GL_INVALID_VALUE); } } |