TYPE3
[iec.git] / src / type3_AndroidCloud / anbox-master / external / android-emugl / host / libs / libOpenGLESDispatch / gles3_only.entries
1 !gles3_only
2
3 # GLES 3.x functions required by the translator library.
4 # Right now, this is only use to get glGetStringi() from the host GL library
5 # in order to deal with the fact that glGetString(GL_EXTENSIONS) is obsolete
6 # in OpenGL 3.0, and some drivers don't implement it anymore (i.e. the
7 # function just returns NULL).
8
9 %#include <GLES/gl.h>
10 %
11 %// Used to avoid adding GLES3/gl3.h to our headers.
12 %#ifndef GL_NUM_EXTENSIONS
13 %#define GL_NUM_EXTENSIONS  0x821D
14 %#endif
15
16 %typedef const GLubyte* GLconstubyteptr;
17
18 GLconstubyteptr glGetStringi(GLenum name, GLint index);