From 6f8bc4de406be856eeba9e62700888941ccfdcc1 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 2 Mar 2013 22:23:30 -0800 Subject: Make the new OpenGL function headers compile on their own You can't use #ifndef QT_NO_OPENGL before including whatever is supposed to define that. That's qconfig.h, included by qglobal.h. Also, make sure that the desktop OpenGL code isn't activated when compiling in OpenGL ES 2 mode -- QOpenGLFunctions_1_0_CoreBackend and other classes aren't defined. Change-Id: I127edf56d42257580579789d0566b7e11c21133b Reviewed-by: Sean Harmer --- src/gui/opengl/qopenglfunctions_1_0.h | 6 ++++-- src/gui/opengl/qopenglfunctions_1_1.h | 6 ++++-- src/gui/opengl/qopenglfunctions_1_2.h | 6 ++++-- src/gui/opengl/qopenglfunctions_1_3.h | 6 ++++-- src/gui/opengl/qopenglfunctions_1_4.h | 6 ++++-- src/gui/opengl/qopenglfunctions_1_5.h | 6 ++++-- src/gui/opengl/qopenglfunctions_2_0.h | 6 ++++-- src/gui/opengl/qopenglfunctions_2_1.h | 6 ++++-- src/gui/opengl/qopenglfunctions_3_0.h | 6 ++++-- src/gui/opengl/qopenglfunctions_3_1.h | 6 ++++-- src/gui/opengl/qopenglfunctions_3_2_compatibility.h | 6 ++++-- src/gui/opengl/qopenglfunctions_3_2_core.h | 6 ++++-- src/gui/opengl/qopenglfunctions_3_3_compatibility.h | 6 ++++-- src/gui/opengl/qopenglfunctions_3_3_core.h | 6 ++++-- src/gui/opengl/qopenglfunctions_4_0_compatibility.h | 6 ++++-- src/gui/opengl/qopenglfunctions_4_0_core.h | 6 ++++-- src/gui/opengl/qopenglfunctions_4_1_compatibility.h | 6 ++++-- src/gui/opengl/qopenglfunctions_4_1_core.h | 6 ++++-- src/gui/opengl/qopenglfunctions_4_2_compatibility.h | 6 ++++-- src/gui/opengl/qopenglfunctions_4_2_core.h | 6 ++++-- src/gui/opengl/qopenglfunctions_4_3_compatibility.h | 6 ++++-- src/gui/opengl/qopenglfunctions_4_3_core.h | 6 ++++-- src/gui/opengl/qopenglfunctions_es2.h | 6 ++++-- 23 files changed, 92 insertions(+), 46 deletions(-) (limited to 'src/gui') diff --git a/src/gui/opengl/qopenglfunctions_1_0.h b/src/gui/opengl/qopenglfunctions_1_0.h index 398d8db9b1..189d06bfec 100644 --- a/src/gui/opengl/qopenglfunctions_1_0.h +++ b/src/gui/opengl/qopenglfunctions_1_0.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_1_0_H #define QOPENGLVERSIONFUNCTIONS_1_0_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -1923,6 +1925,6 @@ inline void QOpenGLFunctions_1_0::glNewList(GLuint list, GLenum mode) QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_1_1.h b/src/gui/opengl/qopenglfunctions_1_1.h index 4eb065e1ee..fbe714c9ad 100644 --- a/src/gui/opengl/qopenglfunctions_1_1.h +++ b/src/gui/opengl/qopenglfunctions_1_1.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_1_1_H #define QOPENGLVERSIONFUNCTIONS_1_1_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -2113,6 +2115,6 @@ inline void QOpenGLFunctions_1_1::glArrayElement(GLint i) QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_1_2.h b/src/gui/opengl/qopenglfunctions_1_2.h index 0288b0faf6..b0b06da76e 100644 --- a/src/gui/opengl/qopenglfunctions_1_2.h +++ b/src/gui/opengl/qopenglfunctions_1_2.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_1_2_H #define QOPENGLVERSIONFUNCTIONS_1_2_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -2351,6 +2353,6 @@ inline void QOpenGLFunctions_1_2::glTexImage3D(GLenum target, GLint level, GLint QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_1_3.h b/src/gui/opengl/qopenglfunctions_1_3.h index e59d6ea3c6..362a60649b 100644 --- a/src/gui/opengl/qopenglfunctions_1_3.h +++ b/src/gui/opengl/qopenglfunctions_1_3.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_1_3_H #define QOPENGLVERSIONFUNCTIONS_1_3_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -2637,6 +2639,6 @@ inline void QOpenGLFunctions_1_3::glClientActiveTexture(GLenum texture) QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_1_4.h b/src/gui/opengl/qopenglfunctions_1_4.h index 41f4c6f8ac..fbb5b2e86c 100644 --- a/src/gui/opengl/qopenglfunctions_1_4.h +++ b/src/gui/opengl/qopenglfunctions_1_4.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_1_4_H #define QOPENGLVERSIONFUNCTIONS_1_4_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -2917,6 +2919,6 @@ inline void QOpenGLFunctions_1_4::glFogCoordf(GLfloat coord) QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_1_5.h b/src/gui/opengl/qopenglfunctions_1_5.h index ee444849e1..cdb2140a5c 100644 --- a/src/gui/opengl/qopenglfunctions_1_5.h +++ b/src/gui/opengl/qopenglfunctions_1_5.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_1_5_H #define QOPENGLVERSIONFUNCTIONS_1_5_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -3040,6 +3042,6 @@ inline void QOpenGLFunctions_1_5::glFogCoordf(GLfloat coord) QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_2_0.h b/src/gui/opengl/qopenglfunctions_2_0.h index 915d35e963..afc5eabb38 100644 --- a/src/gui/opengl/qopenglfunctions_2_0.h +++ b/src/gui/opengl/qopenglfunctions_2_0.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_2_0_H #define QOPENGLVERSIONFUNCTIONS_2_0_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -3608,6 +3610,6 @@ inline void QOpenGLFunctions_2_0::glVertexAttrib1d(GLuint index, GLdouble x) QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_2_1.h b/src/gui/opengl/qopenglfunctions_2_1.h index fc009001ab..c1d291fba4 100644 --- a/src/gui/opengl/qopenglfunctions_2_1.h +++ b/src/gui/opengl/qopenglfunctions_2_1.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_2_1_H #define QOPENGLVERSIONFUNCTIONS_2_1_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -3653,6 +3655,6 @@ inline void QOpenGLFunctions_2_1::glVertexAttrib1d(GLuint index, GLdouble x) QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_3_0.h b/src/gui/opengl/qopenglfunctions_3_0.h index 767e88ba7a..f586bdec58 100644 --- a/src/gui/opengl/qopenglfunctions_3_0.h +++ b/src/gui/opengl/qopenglfunctions_3_0.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_3_0_H #define QOPENGLVERSIONFUNCTIONS_3_0_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -4167,6 +4169,6 @@ inline void QOpenGLFunctions_3_0::glVertexAttribI1i(GLuint index, GLint x) QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_3_1.h b/src/gui/opengl/qopenglfunctions_3_1.h index 1fd1867d33..46beec85e0 100644 --- a/src/gui/opengl/qopenglfunctions_3_1.h +++ b/src/gui/opengl/qopenglfunctions_3_1.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_3_1_H #define QOPENGLVERSIONFUNCTIONS_3_1_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -1585,6 +1587,6 @@ inline void QOpenGLFunctions_3_1::glDrawArraysInstanced(GLenum mode, GLint first QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_3_2_compatibility.h b/src/gui/opengl/qopenglfunctions_3_2_compatibility.h index cfa5cd1406..f279f1037a 100644 --- a/src/gui/opengl/qopenglfunctions_3_2_compatibility.h +++ b/src/gui/opengl/qopenglfunctions_3_2_compatibility.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_3_2_COMPATIBILITY_H #define QOPENGLVERSIONFUNCTIONS_3_2_COMPATIBILITY_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -4371,6 +4373,6 @@ inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI1i(GLuint index, QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_3_2_core.h b/src/gui/opengl/qopenglfunctions_3_2_core.h index 8e25643c09..b3d9a5040c 100644 --- a/src/gui/opengl/qopenglfunctions_3_2_core.h +++ b/src/gui/opengl/qopenglfunctions_3_2_core.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_3_2_CORE_H #define QOPENGLVERSIONFUNCTIONS_3_2_CORE_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -1704,6 +1706,6 @@ inline void QOpenGLFunctions_3_2_Core::glGetInteger64i_v(GLenum target, GLuint i QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_3_3_compatibility.h b/src/gui/opengl/qopenglfunctions_3_3_compatibility.h index b2371a1445..95e000f88d 100644 --- a/src/gui/opengl/qopenglfunctions_3_3_compatibility.h +++ b/src/gui/opengl/qopenglfunctions_3_3_compatibility.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_3_3_COMPATIBILITY_H #define QOPENGLVERSIONFUNCTIONS_3_3_COMPATIBILITY_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -4728,6 +4730,6 @@ inline void QOpenGLFunctions_3_3_Compatibility::glVertexAttribI1i(GLuint index, QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_3_3_core.h b/src/gui/opengl/qopenglfunctions_3_3_core.h index 58e7fa0ba3..0ffb156831 100644 --- a/src/gui/opengl/qopenglfunctions_3_3_core.h +++ b/src/gui/opengl/qopenglfunctions_3_3_core.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_3_3_CORE_H #define QOPENGLVERSIONFUNCTIONS_3_3_CORE_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -2057,6 +2059,6 @@ inline void QOpenGLFunctions_3_3_Core::glVertexAttribDivisor(GLuint index, GLuin QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_4_0_compatibility.h b/src/gui/opengl/qopenglfunctions_4_0_compatibility.h index 7fce72a130..a77a2951b1 100644 --- a/src/gui/opengl/qopenglfunctions_4_0_compatibility.h +++ b/src/gui/opengl/qopenglfunctions_4_0_compatibility.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_4_0_COMPATIBILITY_H #define QOPENGLVERSIONFUNCTIONS_4_0_COMPATIBILITY_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -5013,6 +5015,6 @@ inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI1i(GLuint index, QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_4_0_core.h b/src/gui/opengl/qopenglfunctions_4_0_core.h index a3004817f5..64b75a7374 100644 --- a/src/gui/opengl/qopenglfunctions_4_0_core.h +++ b/src/gui/opengl/qopenglfunctions_4_0_core.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_4_0_CORE_H #define QOPENGLVERSIONFUNCTIONS_4_0_CORE_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -2338,6 +2340,6 @@ inline void QOpenGLFunctions_4_0_Core::glMinSampleShading(GLfloat value) QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_4_1_compatibility.h b/src/gui/opengl/qopenglfunctions_4_1_compatibility.h index 555e3e1e97..3d7f703b8d 100644 --- a/src/gui/opengl/qopenglfunctions_4_1_compatibility.h +++ b/src/gui/opengl/qopenglfunctions_4_1_compatibility.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_4_1_COMPATIBILITY_H #define QOPENGLVERSIONFUNCTIONS_4_1_COMPATIBILITY_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -5550,6 +5552,6 @@ inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI1i(GLuint index, QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_4_1_core.h b/src/gui/opengl/qopenglfunctions_4_1_core.h index 045b49c14b..90ec87568e 100644 --- a/src/gui/opengl/qopenglfunctions_4_1_core.h +++ b/src/gui/opengl/qopenglfunctions_4_1_core.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_4_1_CORE_H #define QOPENGLVERSIONFUNCTIONS_4_1_CORE_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -2871,6 +2873,6 @@ inline void QOpenGLFunctions_4_1_Core::glReleaseShaderCompiler() QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_4_2_compatibility.h b/src/gui/opengl/qopenglfunctions_4_2_compatibility.h index 8a9d56978b..65bb26767a 100644 --- a/src/gui/opengl/qopenglfunctions_4_2_compatibility.h +++ b/src/gui/opengl/qopenglfunctions_4_2_compatibility.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_4_2_COMPATIBILITY_H #define QOPENGLVERSIONFUNCTIONS_4_2_COMPATIBILITY_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -5631,6 +5633,6 @@ inline void QOpenGLFunctions_4_2_Compatibility::glVertexAttribI1i(GLuint index, QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_4_2_core.h b/src/gui/opengl/qopenglfunctions_4_2_core.h index 40f24eaf25..2abe9cb033 100644 --- a/src/gui/opengl/qopenglfunctions_4_2_core.h +++ b/src/gui/opengl/qopenglfunctions_4_2_core.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_4_2_CORE_H #define QOPENGLVERSIONFUNCTIONS_4_2_CORE_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -2948,6 +2950,6 @@ inline void QOpenGLFunctions_4_2_Core::glDrawArraysInstancedBaseInstance(GLenum QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_4_3_compatibility.h b/src/gui/opengl/qopenglfunctions_4_3_compatibility.h index 0dcf16e503..124685d0c0 100644 --- a/src/gui/opengl/qopenglfunctions_4_3_compatibility.h +++ b/src/gui/opengl/qopenglfunctions_4_3_compatibility.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_4_3_COMPATIBILITY_H #define QOPENGLVERSIONFUNCTIONS_4_3_COMPATIBILITY_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -5838,6 +5840,6 @@ inline void QOpenGLFunctions_4_3_Compatibility::glVertexAttribI1i(GLuint index, QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_4_3_core.h b/src/gui/opengl/qopenglfunctions_4_3_core.h index 036fb2c51e..c004594eb8 100644 --- a/src/gui/opengl/qopenglfunctions_4_3_core.h +++ b/src/gui/opengl/qopenglfunctions_4_3_core.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_4_3_CORE_H #define QOPENGLVERSIONFUNCTIONS_4_3_CORE_H -#ifndef QT_NO_OPENGL +#include + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include #include @@ -3151,6 +3153,6 @@ inline void QOpenGLFunctions_4_3_Core::glClearBufferData(GLenum target, GLenum i QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif diff --git a/src/gui/opengl/qopenglfunctions_es2.h b/src/gui/opengl/qopenglfunctions_es2.h index c040f2cf82..9c14567723 100644 --- a/src/gui/opengl/qopenglfunctions_es2.h +++ b/src/gui/opengl/qopenglfunctions_es2.h @@ -42,7 +42,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_ES2_H #define QOPENGLVERSIONFUNCTIONS_ES2_H -#ifndef QT_NO_OPENGL +#include + +#if defined(QT_OPENGL_ES_2) #include #include @@ -926,6 +928,6 @@ inline void QOpenGLFunctions_ES2::glViewport(GLint x, GLint y, GLsizei width, GL QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_OPENGL_ES_2 #endif -- cgit v1.2.3