]> git.tdb.fi Git - libs/gl.git/blob - source/tests.cpp
Get rid of the typedefs for fundamental types
[libs/gl.git] / source / tests.cpp
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 #include "tests.h"
9
10 namespace Msp {
11 namespace GL {
12
13 void scissor(int left, int bottom, unsigned width, unsigned height)
14 {
15         glScissor(left, bottom, width, height);
16 }
17
18 void alpha_func(Predicate func, float ref)
19 {
20         glAlphaFunc(func, ref);
21 }
22
23 void depth_func(Predicate func)
24 {
25         glDepthFunc(func);
26 }
27
28 } // namespace GL
29 } // namespace Msp