]> git.tdb.fi Git - libs/gl.git/blob - source/tests.h
Get rid of the typedefs for fundamental types
[libs/gl.git] / source / tests.h
1 /* $Id$
2
3 This file is part of libmspgl
4 Copyright © 2007  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_GL_TESTS_H_
9 #define MSP_GL_TESTS_H_
10
11 #include "gl.h"
12 #include "predicate.h"
13
14 namespace Msp {
15 namespace GL {
16
17 enum
18 {
19         SCISSOR_TEST = GL_SCISSOR_TEST,
20         ALPHA_TEST   = GL_ALPHA_TEST,
21         DEPTH_TEST   = GL_DEPTH_TEST
22 };
23
24 void scissor(int left, int bottom, unsigned width, unsigned height);
25
26 void alpha_func(Predicate func, float ref);
27
28 void depth_func(Predicate func);
29
30 } // namespace GL
31 } // namespace Msp
32
33 #endif