diff options
Diffstat (limited to 'gpu/GLES2')
-rw-r--r-- | gpu/GLES2/gles2_command_buffer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gpu/GLES2/gles2_command_buffer.h b/gpu/GLES2/gles2_command_buffer.h index 1a860b4..c36b995 100644 --- a/gpu/GLES2/gles2_command_buffer.h +++ b/gpu/GLES2/gles2_command_buffer.h @@ -15,6 +15,14 @@ #define PEPPER3D_SKIP_GLSL_TRANSLATION \ "pepper3d_skip_glsl_translation" +// TODO(gman): move this somewhere else. +#ifndef GL_READ_ONLY +#define GL_READ_ONLY 0x88B8 +#endif +#ifndef GL_WRITE_ONLY +#define GL_WRITE_ONLY 0x88B9 +#endif + #endif // GPU_GLES2_GLES2_COMMAND_BUFFER_H_ |