OpenCPN Partial API docs
Loading...
Searching...
No Matches
pi_gl.h
Go to the documentation of this file.
1/***************************************************************************
2 * Copyright (C) 2010 by David S. Register *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, see <https://www.gnu.org/licenses/>. *
16 ***************************************************************************/
17
31//----------------------------------------------------------------------------------
32// OpenGL Build options for S52PLIB
33//----------------------------------------------------------------------------------
34#ifndef PIGL_H_
35#define PIGL_H_
36
37#if defined(__ANDROID__)
38#include <qopengl.h>
39#include <GL/gl_private.h> // this is a cut-down version of gl.h
40#include <GLES2/gl2.h>
41#elif defined(__MSVC__)
42#include "glew.h"
43#elif defined(__WXOSX__)
44#include <OpenGL/gl.h>
45#include <OpenGL/glu.h>
46typedef void (*_GLUfuncptr)();
47#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
48#elif defined(__WXQT__) || defined(__WXGTK__)
49#include <GL/glew.h>
50#include <GL/glu.h>
51#endif
52
53#endif // PIGL_H_