diff options
Diffstat (limited to 'src/3rdparty/angle/src/libGLESv2/validationES2.h')
-rw-r--r-- | src/3rdparty/angle/src/libGLESv2/validationES2.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/3rdparty/angle/src/libGLESv2/validationES2.h b/src/3rdparty/angle/src/libGLESv2/validationES2.h index e41e345876..53a0b630ea 100644 --- a/src/3rdparty/angle/src/libGLESv2/validationES2.h +++ b/src/3rdparty/angle/src/libGLESv2/validationES2.h @@ -9,23 +9,25 @@ #ifndef LIBGLESV2_VALIDATION_ES2_H #define LIBGLESV2_VALIDATION_ES2_H +#include <GLES2/gl2.h> + namespace gl { class Context; -bool ValidateES2TexImageParameters(gl::Context *context, GLenum target, GLint level, GLenum internalformat, bool isCompressed, bool isSubImage, +bool ValidateES2TexImageParameters(Context *context, GLenum target, GLint level, GLenum internalformat, bool isCompressed, bool isSubImage, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -bool ValidateES2CopyTexImageParameters(gl::Context* context, GLenum target, GLint level, GLenum internalformat, bool isSubImage, +bool ValidateES2CopyTexImageParameters(Context* context, GLenum target, GLint level, GLenum internalformat, bool isSubImage, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -bool ValidateES2TexStorageParameters(gl::Context *context, GLenum target, GLsizei levels, GLenum internalformat, +bool ValidateES2TexStorageParameters(Context *context, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -bool ValidES2ReadFormatType(gl::Context *context, GLenum format, GLenum type); +bool ValidES2ReadFormatType(Context *context, GLenum format, GLenum type); } |