X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fstencil.cpp;h=28d59f19aa97538cf8e443f31918015eef437753;hp=9de8b1f0d66952dc25d15d1148a64daa885201a3;hb=669e9bfc18d2f5e28a9c715e1a69b7637a2d9c8b;hpb=8e063e6def7412f85a26f829b641f28d3476062f 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)