blob: 8b8e8ada26d49ab5936322bd6b3d163dbe6c7922 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_CLIENT_DISPLAY_SYS_OPENGL_H_
#define REMOTING_CLIENT_DISPLAY_SYS_OPENGL_H_
#include "build/build_config.h"
#if defined(OS_IOS)
#include <OpenGLES/ES3/gl.h>
#elif defined(OS_LINUX) || defined(OS_CHROMEOS)
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glext.h>
#elif defined(OS_APPLE)
#define GL_GLEXT_PROTOTYPES
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>
#else
#include <GLES3/gl3.h>
#endif // defined(OS_IOS)
#endif // REMOTING_CLIENT_DISPLAY_SYS_OPENGL_H_