15bd8deadSopenharmony_ci/*% /lib/cpp -I../api testglext.c > testglext.i ; cc -c % ; rm testglext.[oi] 25bd8deadSopenharmony_ci*/ 35bd8deadSopenharmony_ci#define GL_GLEXT_LEGACY 45bd8deadSopenharmony_ci#include <GL/gl.h> 55bd8deadSopenharmony_ci#define GL_GLEXT_PROTOTYPES 65bd8deadSopenharmony_ci#include "GL/glext.h" 75bd8deadSopenharmony_ci 85bd8deadSopenharmony_ci#define GLX_GLXEXT_LEGACY 95bd8deadSopenharmony_ci#include <GL/glx.h> 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci/* Necessary to avoid token redefinition warnings */ 125bd8deadSopenharmony_ci#undef GLX_SAMPLE_BUFFERS 135bd8deadSopenharmony_ci#undef GLX_SAMPLES 145bd8deadSopenharmony_ci#undef GLX_FRONT_EXT 155bd8deadSopenharmony_ci#undef GLX_BACK_EXT 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ci#define GLX_GLXEXT_PROTOTYPES 185bd8deadSopenharmony_ci#include "GL/glxext.h" 195bd8deadSopenharmony_ci 205bd8deadSopenharmony_ciint VERSION_4_3 = GL_VERSION_4_3; 215bd8deadSopenharmony_ci/* These should be the same */ 225bd8deadSopenharmony_ciint mcsor = GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES; 235bd8deadSopenharmony_ciint mciufo = GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS; 245bd8deadSopenharmony_ci 255bd8deadSopenharmony_ci/* See if latest extension is included */ 265bd8deadSopenharmony_ciint latest_ext = GL_NV_blend_equation_advanced; 275bd8deadSopenharmony_ciGLenum latest_enum = GL_CONJOINT_NV; 28