Skip to content

Commit

Permalink
support clip control (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
RSDuck authored Jul 30, 2021
1 parent e53096f commit 26c3e1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/opengl/private/constants.nim
Original file line number Diff line number Diff line change
Expand Up @@ -5011,3 +5011,7 @@ const
GL_TEXTURE_TARGET* = 0x1006.GLenum
GL_QUERY_TARGET* = 0x82EA.GLenum
GL_COMPUTE_WORK_GROUP_SIZE* = 0x8267.GLenum
GL_NEGATIVE_ONE_TO_ONE* = 0x935E.GLenum
GL_ZERO_TO_ONE* = 0x935F.GLenum
CLIP_ORIGIN* = 0x935C.GLenum
CLIP_DEPTH_MODE* = 0x935D.GLenum
1 change: 1 addition & 0 deletions src/opengl/private/procs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2611,6 +2611,7 @@ wrapErrorChecking:
proc glGetActiveUniform(program: GLuint, index: GLuint, bufSize: GLsizei, length: ptr GLsizei, size: ptr GLint, `type`: ptr GLenum, name: cstring)
proc glGenAsyncMarkersSGIX(range: GLsizei): GLuint
proc glClipControlARB(origin: GLenum, depth: GLenum)
proc glClipControl(origin: GLenum, depth: GLenum)
proc glDrawElementsInstancedEXT(mode: GLenum, count: GLsizei, `type`: GLenum, indices: pointer, primcount: GLsizei)
proc glGetFragmentMaterialivSGIX(face: GLenum, pname: GLenum, params: ptr GLint)
proc glSwizzleEXT(res: GLuint, `in`: GLuint, outX: GLenum, outY: GLenum, outZ: GLenum, outW: GLenum)
Expand Down

0 comments on commit 26c3e1e

Please sign in to comment.