diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h index e8abdd5f813..bc40fda8f5f 100644 --- a/Userland/Libraries/LibGL/GL/gl.h +++ b/Userland/Libraries/LibGL/GL/gl.h @@ -743,6 +743,7 @@ GLAPI void glStencilMask(GLuint mask); GLAPI void glStencilMaskSeparate(GLenum face, GLuint mask); GLAPI void glStencilOp(GLenum sfail, GLenum dpfail, GLenum dppass); GLAPI void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +GLAPI void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz); GLAPI void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz); GLAPI void glNormal3fv(GLfloat const* v); GLAPI void glNormalPointer(GLenum type, GLsizei stride, void const* pointer); diff --git a/Userland/Libraries/LibGL/GLAPI.cpp b/Userland/Libraries/LibGL/GLAPI.cpp index 53c7d861220..b71c7637bde 100644 --- a/Userland/Libraries/LibGL/GLAPI.cpp +++ b/Userland/Libraries/LibGL/GLAPI.cpp @@ -666,6 +666,11 @@ void glNewList(GLuint list, GLenum mode) return g_gl_context->gl_new_list(list, mode); } +void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) +{ + g_gl_context->gl_normal(nx, ny, nz); +} + void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { g_gl_context->gl_normal(nx, ny, nz);