• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*% /lib/cpp -I../api testglext.c > testglext.i ; cc -c % ; rm testglext.[oi]
2 */
3 #define GL_GLEXT_LEGACY
4 #include <GL/gl.h>
5 #define GL_GLEXT_PROTOTYPES
6 #include "GL/glext.h"
7 
8 #define GLX_GLXEXT_LEGACY
9 #include <GL/glx.h>
10 
11 /* Necessary to avoid token redefinition warnings */
12 #undef GLX_SAMPLE_BUFFERS
13 #undef GLX_SAMPLES
14 #undef GLX_FRONT_EXT
15 #undef GLX_BACK_EXT
16 
17 #define GLX_GLXEXT_PROTOTYPES
18 #include "GL/glxext.h"
19 
20 int VERSION_4_3 = GL_VERSION_4_3;
21 /* These should be the same */
22 int mcsor = GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES;
23 int mciufo = GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS;
24 
25 /* See if latest extension is included */
26 int latest_ext = GL_NV_blend_equation_advanced;
27 GLenum latest_enum = GL_CONJOINT_NV;
28