Fix flags in dlopen call for steam overlay check

This commit is contained in:
Alexander Overvoorde 2015-10-04 15:46:15 +02:00
parent 8321b14a33
commit 84bf968b23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ char platform_get_path_separator()
*/ */
bool platform_is_steam_overlay_attached() { bool platform_is_steam_overlay_attached() {
return dlopen("gameoverlayrenderer.so", RTLD_NOLOAD) != NULL; return dlopen("gameoverlayrenderer.so", RTLD_NOW | RTLD_NOLOAD) != NULL;
} }
#endif #endif