mirror of https://github.com/stella-emu/stella.git
extended list of known renderers to latest SDL
This commit is contained in:
parent
074c6ae4ca
commit
c2460b7c17
|
@ -156,13 +156,15 @@ void FBBackendSDL2::queryHardware(vector<Common::Size>& fullscreenRes,
|
|||
string stellaName;
|
||||
};
|
||||
// Create name map for all currently known SDL renderers
|
||||
static const std::array<RenderName, 6> RENDERER_NAMES = {{
|
||||
{ "direct3d", "Direct3D" },
|
||||
{ "metal", "Metal" },
|
||||
{ "opengl", "OpenGL" },
|
||||
{ "opengles", "OpenGLES" },
|
||||
{ "opengles2", "OpenGLES2" },
|
||||
{ "software", "Software" }
|
||||
static const std::array<RenderName, 8> RENDERER_NAMES = {{
|
||||
{ "direct3d", "Direct3D" },
|
||||
{ "direct3d11", "Direct3D 11" },
|
||||
{ "direct3d12", "Direct3D 12" },
|
||||
{ "metal", "Metal" },
|
||||
{ "opengl", "OpenGL" },
|
||||
{ "opengles", "OpenGL ES" },
|
||||
{ "opengles2", "OpenGL ES 2" },
|
||||
{ "software", "Software" }
|
||||
}};
|
||||
|
||||
const int numDrivers = SDL_GetNumRenderDrivers();
|
||||
|
|
|
@ -113,7 +113,7 @@ void VideoAudioDialog::addDisplayTab()
|
|||
VGAP = Dialog::vGap();
|
||||
const int INDENT = CheckboxWidget::prefixSize(_font);
|
||||
const int lwidth = _font.getStringWidth("V-Size adjust "),
|
||||
pwidth = _font.getStringWidth("OpenGLES2");
|
||||
pwidth = _font.getStringWidth("Direct3D 12");
|
||||
const int xpos = HBORDER;
|
||||
int ypos = VBORDER;
|
||||
WidgetArray wid;
|
||||
|
|
Loading…
Reference in New Issue