From 066dbcf2cf80ae2ae762a71a4642b93b3eda8beb Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Tue, 20 Feb 2018 19:11:20 +0300 Subject: [PATCH] Added glIsEnabled --- GL/gl.h | 2 ++ GL/gl_entries.in | 2 ++ funcnames.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/GL/gl.h b/GL/gl.h index e1dc878..9978144 100644 --- a/GL/gl.h +++ b/GL/gl.h @@ -736,6 +736,8 @@ void glBufferDataARB( GLuint target, GLuint size, void *buffer, GLuint type ); void glBufferSubDataARB( GLuint target, GLsizei offset, GLsizei size, void *buffer ); +GLboolean glIsEnabled(GLenum cap); + #ifdef __cplusplus } #endif diff --git a/GL/gl_entries.in b/GL/gl_entries.in index 244acea..cf8837a 100644 --- a/GL/gl_entries.in +++ b/GL/gl_entries.in @@ -199,3 +199,5 @@ GL_ENTRY( void, glFramebufferTexture2DOES, GLenum target, GLenum attachment, GLe GL_ENTRY( void, glDeleteRenderbuffersOES, GLsizei n, const GLuint *renderbuffers ) GL_ENTRY( void, glDeleteFramebuffersOES, GLsizei n, const GLuint *framebuffers ) GL_ENTRY( void, glFramebufferRenderbufferOES, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer ) + +GL_ENTRY( GLboolean, glIsEnabled, GLenum cap ) diff --git a/funcnames.h b/funcnames.h index c394c45..84a7821 100644 --- a/funcnames.h +++ b/funcnames.h @@ -198,3 +198,5 @@ "glDeleteRenderbuffersOES", "glDeleteFramebuffersOES", "glFramebufferRenderbufferOES", + + "glIsEnabled", -- 2.29.2