diff options
Diffstat (limited to 'src/gui/widgets/tabs/setup_perfomance.cpp')
-rw-r--r-- | src/gui/widgets/tabs/setup_perfomance.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/setup_perfomance.cpp b/src/gui/widgets/tabs/setup_perfomance.cpp index 664183276..9eaca8e85 100644 --- a/src/gui/widgets/tabs/setup_perfomance.cpp +++ b/src/gui/widgets/tabs/setup_perfomance.cpp @@ -53,8 +53,10 @@ static const char *const texturesList[] = Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) : SetupTabScroll(widget), - mTexturesList(new NamesModel), - mSdlDriversList(new NamesModel) +#ifdef USE_SDL2 + mSdlDriversList(new NamesModel), +#endif // USE_SDL2 + mTexturesList(new NamesModel) { // TRANSLATORS: settings tab name setName(_("Performance")); |