]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/stencil.cpp
Rearrange soucre files into subdirectories
[libs/gl.git] / source / core / stencil.cpp
diff --git a/source/core/stencil.cpp b/source/core/stencil.cpp
new file mode 100644 (file)
index 0000000..9de8b1f
--- /dev/null
@@ -0,0 +1,17 @@
+#include "stencil.h"
+
+namespace Msp {
+namespace GL {
+
+void stencil_func(Predicate func, int ref, unsigned mask)
+{
+       glStencilFunc(func, ref, mask);
+}
+
+void stencil_op(StencilOp sfail, StencilOp dfail, StencilOp dpass)
+{
+       glStencilOp(sfail, dfail, dpass);
+}
+
+} // namespace GL
+} // namespace Msp