X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fstencil.h;h=02f4ed3f6ffa82c75cead64f99d6deafef62ee18;hp=30ad2570b40ba1207a079eed07684a05de4dcda0;hb=HEAD;hpb=ceae2a27dfc58310c5bab7e3aa3fedf0fa9a1f49 diff --git a/source/stencil.h b/source/stencil.h deleted file mode 100644 index 30ad2570..00000000 --- a/source/stencil.h +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GL_STENCIL_H_ -#define MSP_GL_STENCIL_H_ - -#include "gl.h" -#include "predicate.h" - -namespace Msp { -namespace GL { - -enum -{ - STENCIL_TEST = GL_STENCIL_TEST -}; - -enum StencilOp -{ - KEEP = GL_KEEP, - SET_ZERO = GL_ZERO, - REPLACE = GL_REPLACE, - INCR = GL_INCR, - DECR = GL_DECR, - INVERT = GL_INVERT, - INCR_WRAP = GL_INCR_WRAP, - DECR_WRAP = GL_DECR_WRAP -}; - -void stencil_func(Predicate func, int ref, unsigned mask); -void stencil_op(StencilOp sfail, StencilOp dfail, StencilOp dpass); - -} // namespace GL -} // namespace Msp - -#endif