0024428: Implementation of LGPL license
[occt.git] / src / OpenGl / OpenGl_GlCore12.hxx
1 // Created on: 2014-03-06
2 // Created by: Kirill GAVRILOV
3 // Copyright (c) -1999 Matra Datavision
4 // Copyright (c) 2014-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and / or modify it
9 // under the terms of the GNU Lesser General Public version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _OpenGl_GlCore12_H__
18 #define _OpenGl_GlCore12_H__
19
20 #include <OpenGl_GlCore11.hxx>
21
22 // GL version can be defined by system gl.h header
23 #undef GL_VERSION_1_2
24 #undef GL_VERSION_1_3
25 #undef GL_VERSION_1_4
26 #undef GL_VERSION_1_5
27 #undef GL_VERSION_2_0
28
29 // include glext.h provided by Khronos group
30 #include <glext.h>
31
32 //! Function list for GL1.2 core functionality.
33 struct OpenGl_GlCore12
34 {
35
36   PFNGLBLENDCOLORPROC        glBlendColor;
37   PFNGLBLENDEQUATIONPROC     glBlendEquation;
38   PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements;
39   PFNGLTEXIMAGE3DPROC        glTexImage3D;
40   PFNGLTEXSUBIMAGE3DPROC     glTexSubImage3D;
41   PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D;
42
43 };
44
45 #endif // _OpenGl_GlCore12_H__