diff --git a/src/common/FrameBufferSDL2.cxx b/src/common/FrameBufferSDL2.cxx index 93a12615d..4d013a35d 100644 --- a/src/common/FrameBufferSDL2.cxx +++ b/src/common/FrameBufferSDL2.cxx @@ -144,11 +144,11 @@ void FrameBufferSDL2::queryHardware(vector& fullscreenRes, struct RenderName { - const char* const sdlName; - const char* const stellaName; + string sdlName; + string stellaName; }; // Create name map for all currently known SDL renderers - static constexpr std::array RENDERER_NAMES = {{ + static const std::array RENDERER_NAMES = {{ { "direct3d", "Direct3D" }, { "metal", "Metal" }, { "opengl", "OpenGL" },