The gods made heavy metal...

This commit is contained in:
Christian Speckner 2019-12-13 21:12:51 +01:00
parent 4e444f7383
commit ce993427d1
2 changed files with 4 additions and 2 deletions

View File

@ -25,6 +25,7 @@
"*.tcc": "cpp", "*.tcc": "cpp",
"functional": "cpp", "functional": "cpp",
"iomanip": "cpp", "iomanip": "cpp",
"__cxx_version": "cpp" "__cxx_version": "cpp",
"string": "cpp"
} }
} }

View File

@ -125,9 +125,10 @@ void FrameBufferSDL2::queryHardware(vector<Common::Size>& fullscreenRes,
string stellaName; string stellaName;
}; };
// Create name map for all currently known SDL renderers // Create name map for all currently known SDL renderers
const int NUM_RENDERERS = 5; const int NUM_RENDERERS = 6;
static const RenderName RENDERER_NAMES[NUM_RENDERERS] = { static const RenderName RENDERER_NAMES[NUM_RENDERERS] = {
{ "direct3d", "Direct3D" }, { "direct3d", "Direct3D" },
{ "metal", "Metal" },
{ "opengl", "OpenGL" }, { "opengl", "OpenGL" },
{ "opengles", "OpenGLES" }, { "opengles", "OpenGLES" },
{ "opengles2", "OpenGLES2" }, { "opengles2", "OpenGLES2" },