blob: 0351fc8f6d735a509e112701c1fa97f13c74685a [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_MAC)
#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_