diff options
Diffstat (limited to 'platform/winrt/include/angle_gl.h')
-rw-r--r-- | platform/winrt/include/angle_gl.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/platform/winrt/include/angle_gl.h b/platform/winrt/include/angle_gl.h new file mode 100644 index 0000000000..fadae33e26 --- /dev/null +++ b/platform/winrt/include/angle_gl.h @@ -0,0 +1,23 @@ +//
+// 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_
+
+#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_
|