X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Fstencil.cpp;h=28d59f19aa97538cf8e443f31918015eef437753;hb=669e9bfc18d2f5e28a9c715e1a69b7637a2d9c8b;hp=9de8b1f0d66952dc25d15d1148a64daa885201a3;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266;p=libs%2Fgl.git diff --git a/source/core/stencil.cpp b/source/core/stencil.cpp index 9de8b1f0..28d59f19 100644 --- a/source/core/stencil.cpp +++ b/source/core/stencil.cpp @@ -5,7 +5,7 @@ namespace GL { void stencil_func(Predicate func, int ref, unsigned mask) { - glStencilFunc(func, ref, mask); + glStencilFunc(get_gl_predicate(func), ref, mask); } void stencil_op(StencilOp sfail, StencilOp dfail, StencilOp dpass)