diff options
author | Johannes Schickel | 2015-12-20 05:42:54 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-16 20:29:25 +0100 |
commit | fe88375ff376cbb0d940c96ac6ec1667be4acab0 (patch) | |
tree | a5aa6530eb42dd4cdd3148025c37d95377686059 /backends/graphics/opengl/opengl-defs.h | |
parent | e9310186735f34c6b085a58629b140a031d1da4e (diff) | |
download | scummvm-rg350-fe88375ff376cbb0d940c96ac6ec1667be4acab0.tar.gz scummvm-rg350-fe88375ff376cbb0d940c96ac6ec1667be4acab0.tar.bz2 scummvm-rg350-fe88375ff376cbb0d940c96ac6ec1667be4acab0.zip |
OPENGL: Support GLES2 contexts.
Diffstat (limited to 'backends/graphics/opengl/opengl-defs.h')
-rw-r--r-- | backends/graphics/opengl/opengl-defs.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/backends/graphics/opengl/opengl-defs.h b/backends/graphics/opengl/opengl-defs.h index 4b82d7edd7..fe79caadd4 100644 --- a/backends/graphics/opengl/opengl-defs.h +++ b/backends/graphics/opengl/opengl-defs.h @@ -75,11 +75,16 @@ typedef float GLfloat; /* single precision float */ typedef float GLclampf; /* single precision float in [0,1] */ typedef double GLdouble; /* double precision float */ typedef double GLclampd; /* double precision float in [0,1] */ +typedef char GLchar; /* * Constants */ +/* Boolean constants */ +#define GL_FALSE 0 +#define GL_TRUE 1 + /* StringName */ #define GL_VENDOR 0x1F00 #define GL_RENDERER 0x1F01 @@ -216,4 +221,16 @@ typedef double GLclampd; /* double precision float in [0,1] */ #define GL_TRIANGLE_STRIP 0x0005 #define GL_TRIANGLE_FAN 0x0006 +/* Shaders */ +#define GL_FRAGMENT_SHADER 0x8B30 +#define GL_VERTEX_SHADER 0x8B31 + +/* Programs */ +#define GL_COMPILE_STATUS 0x8B81 +#define GL_LINK_STATUS 0x8B82 +#define GL_INFO_LOG_LENGTH 0x8B84 + +/* Textures */ +#define GL_TEXTURE0 0x84C0 + #endif |