aboutsummaryrefslogtreecommitdiffstats
path: root/distrib
diff options
context:
space:
mode:
Diffstat (limited to 'distrib')
-rw-r--r--distrib/sdl-1.2.15/src/video/SDL_video.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/distrib/sdl-1.2.15/src/video/SDL_video.c b/distrib/sdl-1.2.15/src/video/SDL_video.c
index 43c1826..f4f4407 100644
--- a/distrib/sdl-1.2.15/src/video/SDL_video.c
+++ b/distrib/sdl-1.2.15/src/video/SDL_video.c
@@ -1689,8 +1689,9 @@ void SDL_GL_Unlock()
#endif
}
-
+#if SDL_AUDIO_DRIVER_PULSE
void SDL_Audio_SetCaption(const char *caption);
+#endif
/*
* Sets/Gets the title and icon text of the display window, if any.
@@ -1718,8 +1719,10 @@ void SDL_WM_SetCaption (const char *title, const char *icon)
}
}
+#if SDL_AUDIO_DRIVER_PULSE
/* PulseAudio can make use of this information. */
SDL_Audio_SetCaption(title);
+#endif
}
void SDL_WM_GetCaption (char **title, char **icon)