]> git.tdb.fi Git - libs/gl.git/blobdiff - source/stencil.h
Use RED format for ambient occlusion render target
[libs/gl.git] / source / stencil.h
index 6efb057776365cc2b8122d4e030687b21306be02..02f4ed3f6ffa82c75cead64f99d6deafef62ee18 100644 (file)
@@ -1,16 +1,8 @@
-/* $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/gl.h>
+#include "gl.h"
 #include "predicate.h"
-#include "types.h"
 
 namespace Msp {
 namespace GL {
@@ -32,7 +24,7 @@ enum StencilOp
        DECR_WRAP = GL_DECR_WRAP
 };
 
-void stencil_func(Predicate func, int ref, uint mask);
+void stencil_func(Predicate func, int ref, unsigned mask);
 void stencil_op(StencilOp sfail, StencilOp dfail, StencilOp dpass);
 
 } // namespace GL