From ce993427d1fbbea31dc2c6667520d37576ecd822 Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Fri, 13 Dec 2019 21:12:51 +0100 Subject: [PATCH] The gods made heavy metal... --- .vscode/settings.json | 3 ++- src/common/FrameBufferSDL2.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b6490aaa3..52b5e38db 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -25,6 +25,7 @@ "*.tcc": "cpp", "functional": "cpp", "iomanip": "cpp", - "__cxx_version": "cpp" + "__cxx_version": "cpp", + "string": "cpp" } } diff --git a/src/common/FrameBufferSDL2.cxx b/src/common/FrameBufferSDL2.cxx index d999567d6..400ef30ce 100644 --- a/src/common/FrameBufferSDL2.cxx +++ b/src/common/FrameBufferSDL2.cxx @@ -125,9 +125,10 @@ void FrameBufferSDL2::queryHardware(vector& fullscreenRes, string stellaName; }; // 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] = { { "direct3d", "Direct3D" }, + { "metal", "Metal" }, { "opengl", "OpenGL" }, { "opengles", "OpenGLES" }, { "opengles2", "OpenGLES2" },