"Initial commit to Gerrit"
[profile/ivi/cogl.git] / cogl / tesselator / GL / glu.h
1 /*
2  * Cogl
3  *
4  * An object oriented GL/GLES Abstraction/Utility Layer
5  *
6  * Copyright (C) 2010 Intel Corporation.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22
23 /* This is just a wrapper to use our simplified version of glu.h so
24    that the tesselator code can still #include <GL/glu.h> */
25
26 #include "../tesselator.h"
27
28 /* These aren't defined on GLES and we don't really want the
29    tesselator code to use them but we're also trying to avoid
30    modifying the C files so we just force them to be empty here */
31
32 #undef GLAPI
33 #define GLAPI
34
35 #undef GLAPIENTRY
36 #define GLAPIENTRY
37
38 /* GLES doesn't define a GLdouble type so lets just force it to a
39    regular double */
40 #define GLdouble double