usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/src/system.cpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/system.cpp
Date: Fri, 21 Jan 2005 20:03:46 -0500

Index: usata2/src/system.cpp
diff -u usata2/src/system.cpp:1.17 usata2/src/system.cpp:1.18
--- usata2/src/system.cpp:1.17  Thu Jan 20 20:20:30 2005
+++ usata2/src/system.cpp       Sat Jan 22 01:03:45 2005
@@ -10,8 +10,9 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: system.cpp,v 1.17 2005/01/20 20:20:30 skunix Exp $
+// $Id: system.cpp,v 1.18 2005/01/22 01:03:45 skunix Exp $
 
+#include "build_info.hpp"
 #include "system.hpp"
 #include <SDL.h>
 #include <stdexcept>
@@ -285,7 +286,9 @@
                        init_glew();
                        print_gl_capabilities();
                        video::capabilities.update();
-                       glViewport(0,0,(GLsizei)vm.width, (GLsizei) vm.height); 
           
+                       glViewport(0,0,(GLsizei)vm.width, (GLsizei) vm.height);
+                       std::string capstr(PROGRAM_TITLE " [" PROGRAM_VERSION 
"]");
+                       SDL_WM_SetCaption(capstr.c_str(), capstr.c_str());
                }
                else
                {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]