aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow/llwindowsdl.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-06-06 06:14:18 -0700
committerJacek Antonelli2010-06-19 02:43:32 -0500
commit35af28cec1c16e66da3abff4d75a8a68dc381a72 (patch)
treee183627295f62f1d6564211f3f98db8984089067 /linden/indra/llwindow/llwindowsdl.cpp
parentRemoved 'Received animation state for unknown avatar' log spam (diff)
downloadmeta-impy-35af28cec1c16e66da3abff4d75a8a68dc381a72.zip
meta-impy-35af28cec1c16e66da3abff4d75a8a68dc381a72.tar.gz
meta-impy-35af28cec1c16e66da3abff4d75a8a68dc381a72.tar.bz2
meta-impy-35af28cec1c16e66da3abff4d75a8a68dc381a72.tar.xz
Applied snowglobe-0-v14000-AvatarNameInWindowTitle_v1.patch and set the name in the window title only when running multiple instances
Diffstat (limited to 'linden/indra/llwindow/llwindowsdl.cpp')
-rw-r--r--linden/indra/llwindow/llwindowsdl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/llwindow/llwindowsdl.cpp b/linden/indra/llwindow/llwindowsdl.cpp
index 61ef01d..bf339f2 100644
--- a/linden/indra/llwindow/llwindowsdl.cpp
+++ b/linden/indra/llwindow/llwindowsdl.cpp
@@ -414,6 +414,11 @@ static int x11_detect_VRAM_kb()
414} 414}
415#endif // LL_X11 415#endif // LL_X11
416 416
417void LLWindowSDL::setWindowTitle(std::string &title)
418{
419 SDL_WM_SetCaption(title.c_str(), title.c_str());
420}
421
417BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, BOOL fullscreen, BOOL disable_vsync) 422BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, BOOL fullscreen, BOOL disable_vsync)
418{ 423{
419 //bool glneedsinit = false; 424 //bool glneedsinit = false;