This commit is contained in:
twinaphex 2020-08-03 15:51:07 +02:00
parent fe59fdb39a
commit 3653451c40

View File

@ -31,14 +31,14 @@
#include "../../frontend/frontend_driver.h"
/* Normal DirectX 11 backend */
const EGLint backendD3D11[] =
static const EGLint backendD3D11[] =
{
EGL_PLATFORM_ANGLE_TYPE_ANGLE, EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE,
EGL_NONE,
};
/* DirectX 11 Feature Level 9_3 backend, for Windows Mobile (UWP) */
const EGLint backendD3D11_FL9_3[] =
static const EGLint backendD3D11_FL9_3[] =
{
EGL_PLATFORM_ANGLE_TYPE_ANGLE, EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE,
EGL_PLATFORM_ANGLE_MAX_VERSION_MAJOR_ANGLE, 9,
@ -47,21 +47,21 @@ const EGLint backendD3D11_FL9_3[] =
};
/* Normal DirectX 9 backend */
const EGLint backendD3D9[] =
static const EGLint backendD3D9[] =
{
EGL_PLATFORM_ANGLE_TYPE_ANGLE, EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE,
EGL_NONE,
};
/* WARP software renderer */
const EGLint backendWARP[] =
static const EGLint backendWARP[] =
{
EGL_PLATFORM_ANGLE_TYPE_ANGLE, EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE,
EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE, EGL_PLATFORM_ANGLE_DEVICE_TYPE_D3D_WARP_ANGLE,
EGL_NONE,
};
const EGLint* backendList[] = {
static const EGLint* backendList[] = {
backendD3D11,
#ifdef __WINRT__
backendD3D11_FL9_3,
@ -72,7 +72,7 @@ const EGLint* backendList[] = {
NULL
};
const char* backendNamesList[] = {
static const char* backendNamesList[] = {
"D3D11 Backend",
#ifdef __WINRT__
"D3D11 FL9_3 Backend",