X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fstencil.cpp;fp=source%2Fstencil.cpp;h=a05063106a793d67e32ccae0a24ce827101659ed;hb=0f1c018d65658ae564881649443fde3f7d2182a8;hp=0000000000000000000000000000000000000000;hpb=c1405286754104ddc044dddbb0a3505a9a5e3d4a;p=libs%2Fgl.git diff --git a/source/stencil.cpp b/source/stencil.cpp new file mode 100644 index 00000000..a0506310 --- /dev/null +++ b/source/stencil.cpp @@ -0,0 +1,24 @@ +/* $Id$ + +This file is part of libmspgl +Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + +#include "stencil.h" + +namespace Msp { +namespace GL { + +void stencil_func(Predicate func, int ref, uint mask) +{ + glStencilFunc(func, ref, mask); +} + +void stencil_op(StencilOp sfail, StencilOp dfail, StencilOp dpass) +{ + glStencilOp(sfail, dfail, dpass); +} + +} // namespace GL +} // namespace Msp