blob: f9f0fa2f48359f912ad4f773cc2bb6a465c9c3a0 [file] [log] [blame]
Jamie Madillba319ba2018-12-29 10:29:33 -05001//
2// Copyright 2018 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6// util_gl.h: Includes the right GL/EGL headers for static/shared link.
7
8#ifndef UTIL_GL_H_
9#define UTIL_GL_H_
10
11#if defined(ANGLE_USE_UTIL_LOADER)
12# include "util/egl_loader_autogen.h"
13# include "util/gles_loader_autogen.h"
14#else
15
16# if !defined(GL_GLES_PROTOTYPES)
17# error Config error. Should either be using the ANGLE GL loader or header prototypes.
18# endif // !defined(GL_GLES_PROTOTYPES)
19
20# include <EGL/egl.h>
21# include <EGL/eglext.h>
22# include "angle_gl.h"
23#endif
24
25#endif // UTIL_GL_H_