diff --git a/Source/Bind/Specifications/GL2/enum.spec b/Source/Bind/Specifications/GL2/enum.spec index 40e21091..73f6fa93 100644 --- a/Source/Bind/Specifications/GL2/enum.spec +++ b/Source/Bind/Specifications/GL2/enum.spec @@ -173,10 +173,15 @@ Extensions define: ############################################################################### # -# Edited by Stefanos Apostolopoulos for OpenTK. Revision 2 +# Edited by Stefanos Apostolopoulos for OpenTK. Revision 3 # ############################################################################### +StencilFace enum: + use DrawBufferMode FRONT + use DrawBufferMode BACK + use DrawBufferMode FRONT_AND_BACK + DrawElementsType enum: use DataType UNSIGNED_BYTE use DataType UNSIGNED_SHORT diff --git a/Source/Bind/Specifications/GL2/gl.spec b/Source/Bind/Specifications/GL2/gl.spec index 981eb5a5..e2eb0332 100644 --- a/Source/Bind/Specifications/GL2/gl.spec +++ b/Source/Bind/Specifications/GL2/gl.spec @@ -5868,12 +5868,14 @@ StencilOpSeparate(face, sfail, dpfail, dppass) glsopcode ? offset ? -StencilFuncSeparate(frontfunc, backfunc, ref, mask) + +# Edited for OpenTK +StencilFuncSeparate(face, func, ref, mask) return void - param frontfunc StencilFunction in value - param backfunc StencilFunction in value + param face StencilFace in value + param func StencilFunction in value param ref ClampedStencilValue in value - param mask MaskedStencilValue in value + param mask MaskedStencilValue in value category VERSION_2_0 version 2.0 extension