/* * Copyright (C) 2005-2018 Team Kodi * This file is part of Kodi - https://kodi.tv * * SPDX-License-Identifier: GPL-2.0-or-later * See LICENSES/README.md for more information. */ #pragma once #ifdef HAS_GL // always define GL_GLEXT_PROTOTYPES before include gl headers #if !defined(GL_GLEXT_PROTOTYPES) #define GL_GLEXT_PROTOTYPES #endif #if defined(TARGET_LINUX) #include #include #elif defined(TARGET_FREEBSD) #include #elif defined(TARGET_DARWIN) #include #include #include #endif #elif HAS_GLES >= 2 #if defined(TARGET_DARWIN) #include #include #else #include #include #endif #if HAS_GLES == 3 #include #endif #endif