diff options
Diffstat (limited to 'src/3rdparty/angle/include/angle_gl.h')
-rw-r--r-- | src/3rdparty/angle/include/angle_gl.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/3rdparty/angle/include/angle_gl.h b/src/3rdparty/angle/include/angle_gl.h new file mode 100644 index 0000000000..663aa259ea --- /dev/null +++ b/src/3rdparty/angle/include/angle_gl.h @@ -0,0 +1,26 @@ +// +// Copyright (c) 2014 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// angle_gl.h: +// Includes all necessary GL headers and definitions for ANGLE. +// + +#ifndef ANGLE_GL_H_ +#define ANGLE_GL_H_ + +#define GL_GLEXT_PROTOTYPES +#define GL_APICALL + +#include "GLES2/gl2.h" +#include "GLES2/gl2ext.h" +#include "GLES3/gl3.h" +#include "GLES3/gl3ext.h" + +// The following enum is used in ANGLE, but is from desktop GL +#ifndef GL_SAMPLER_2D_RECT_ARB +#define GL_SAMPLER_2D_RECT_ARB 0x8B63 +#endif + +#endif // ANGLE_GL_H_ |