mirror of https://github.com/stella-emu/stella.git
Revert "Very small optimization for const char* instead of strings."
This reverts commit 378829da5a
.
This commit is contained in:
parent
af947900fa
commit
77ac37e706
|
@ -144,11 +144,11 @@ void FrameBufferSDL2::queryHardware(vector<Common::Size>& fullscreenRes,
|
||||||
|
|
||||||
struct RenderName
|
struct RenderName
|
||||||
{
|
{
|
||||||
const char* const sdlName;
|
string sdlName;
|
||||||
const char* const stellaName;
|
string stellaName;
|
||||||
};
|
};
|
||||||
// Create name map for all currently known SDL renderers
|
// Create name map for all currently known SDL renderers
|
||||||
static constexpr std::array<RenderName, 6> RENDERER_NAMES = {{
|
static const std::array<RenderName, 6> RENDERER_NAMES = {{
|
||||||
{ "direct3d", "Direct3D" },
|
{ "direct3d", "Direct3D" },
|
||||||
{ "metal", "Metal" },
|
{ "metal", "Metal" },
|
||||||
{ "opengl", "OpenGL" },
|
{ "opengl", "OpenGL" },
|
||||||
|
|
Loading…
Reference in New Issue