From: DeaDDooMER Date: Tue, 20 Feb 2018 16:11:20 +0000 (+0300) Subject: Added glIsEnabled X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=066dbcf2cf80ae2ae762a71a4642b93b3eda8beb;p=nanogl.git Added glIsEnabled --- 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",