mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
* [WINRT] Enable logging on __WINRT__ and bypass verbosidy in debug * [UWP] wrong configuration prevents GLES to compile, common functions defines GL symbols * [UWP] configure project to allow OPENGL on default configuration and copy MESA DLLs into UWP release * [UWP] add MESA headers * [UWP] add MESA EGL.lib needed for GLES context. However HAVE_OPENGL is better as GL cores use desktop version, so this is left for reference and to make the solution build with HAVE_OPENGLES * [UWP] UWP is missing some GDI function definitions, implemented into MESA Gallium * [UWP] Configure Release project too * [UWP] Add mesa alpha-2 release dlls * [UWP] allow griffin and vide_driver to have an OPENGL context * [UWP] allow wgl context to work with mesa under WINRT * [UWP] BUG: have to modify height/width getters and align them to MESA because the screen resolution is not right in gl context. Pending further investigation * [UWP] fix ANGLE build * [UWP] remove duplicate import code. * (UWP) Cleanup filters file * MESA screen destroy fix and Yabasanshiro hack. Align to alpha-2-hack tag --------- Co-authored-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
28 lines
642 B
C
28 lines
642 B
C
#ifndef __gl2platform_h_
|
|
#define __gl2platform_h_
|
|
|
|
/*
|
|
** Copyright 2017-2020 The Khronos Group Inc.
|
|
** SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
|
|
*
|
|
* Adopters may modify khrplatform.h and this file to suit their platform.
|
|
* Please contribute modifications back to Khronos as pull requests on the
|
|
* public github repository:
|
|
* https://github.com/KhronosGroup/OpenGL-Registry
|
|
*/
|
|
|
|
#include <KHR/khrplatform.h>
|
|
|
|
#ifndef GL_APICALL
|
|
#define GL_APICALL KHRONOS_APICALL
|
|
#endif
|
|
|
|
#ifndef GL_APIENTRY
|
|
#define GL_APIENTRY KHRONOS_APIENTRY
|
|
#endif
|
|
|
|
#endif /* __gl2platform_h_ */
|