]> git.tdb.fi Git - libs/gl.git/blob - source/stencil.cpp
Fix an incorrect negation
[libs/gl.git] / source / stencil.cpp
1 #include "stencil.h"
2
3 namespace Msp {
4 namespace GL {
5
6 void stencil_func(Predicate func, int ref, unsigned mask)
7 {
8         glStencilFunc(func, ref, mask);
9 }
10
11 void stencil_op(StencilOp sfail, StencilOp dfail, StencilOp dpass)
12 {
13         glStencilOp(sfail, dfail, dpass);
14 }
15
16 } // namespace GL
17 } // namespace Msp