]> git.tdb.fi Git - libs/gl.git/blob - source/stencil.cpp
Add functions for setting arrays of 2x2 and 3x3 matrix uniforms
[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