Refactor Steam Link support files
This commit is contained in:
parent
b78a7971d9
commit
2bf3f1b94b
9 changed files with 17 additions and 13 deletions
|
|
@ -307,7 +307,7 @@ int main(int argc, char *argv[])
|
|||
// Register custom metatypes for use in signals
|
||||
qRegisterMetaType<NvApp>("NvApp");
|
||||
|
||||
#ifdef HAVE_SLVIDEO
|
||||
#ifdef STEAM_LINK
|
||||
// Steam Link requires that we initialize video before creating our
|
||||
// QGuiApplication in order to configure the framebuffer correctly.
|
||||
if (SDL_InitSubSystem(SDL_INIT_VIDEO) != 0) {
|
||||
|
|
@ -331,7 +331,7 @@ int main(int argc, char *argv[])
|
|||
app.setPalette(QPalette(Qt::lightGray));
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SLVIDEO
|
||||
#ifdef STEAM_LINK
|
||||
// Qt 5.9 from the Steam Link SDK is not able to load any fonts
|
||||
// since the Steam Link doesn't include any of the ones it looks
|
||||
// for. We know it has NotoSans so we will explicitly ask for that.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue