Fixed StencilFuncSeparate parameters types (StencilFace and StencilFunction instead of StencilFunction).

Added StencilFace enum.
This commit is contained in:
the_fiddler 2008-07-10 15:04:46 +00:00
parent 1c1bf9dad8
commit 327d649731
2 changed files with 12 additions and 5 deletions

View file

@ -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

View file

@ -5868,10 +5868,12 @@ 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
category VERSION_2_0