Skip to content

Commit

Permalink
Implement glTexEnvfv
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Feb 26, 2024
1 parent 0f4e6fa commit e75792d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions GL/gl.h
Expand Up @@ -705,6 +705,7 @@ void GL_MANGLE(glColor4ub)( GLubyte red, GLubyte green, GLubyte blue, GLubyte al
void GL_MANGLE(glCopyTexSubImage2D)( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height );

void GL_MANGLE(glTexEnvi)( GLenum target, GLenum pname, GLint param );
void GL_MANGLE(glTexEnvfv)( GLenum target, GLenum pname, const GLfloat *param );

void GL_MANGLE(glBindFramebuffer)( GLenum target, GLuint framebuffer );
void GL_MANGLE(glDeleteFramebuffers)( GLsizei n, const GLuint *framebuffers );
Expand Down
12 changes: 12 additions & 0 deletions nanoWrap.cpp
Expand Up @@ -2368,6 +2368,18 @@ void GL_MANGLE(glTexEnvi)( GLenum target, GLenum pname, GLint param )
glEsImpl->glTexEnvi( target, pname, param );
}

void GL_MANGLE(glTexEnvfv)( GLenum target, GLenum pname, const GLfloat *param )
{
if( skipnanogl )
{
glEsImpl->glTexEnvfv( target, pname, param );
return;
}

FlushOnStateChange( );
glEsImpl->glTexEnvfv( target, pname, param );
}

void GL_MANGLE(glDrawArrays)( GLenum mode, GLint first, GLsizei count )
{
if( skipnanogl )
Expand Down

0 comments on commit e75792d

Please sign in to comment.