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: Mon, 03 Jan 2005 03:06:12 -0500

Index: usata2/src/system.cpp
diff -u usata2/src/system.cpp:1.13 usata2/src/system.cpp:1.14
--- usata2/src/system.cpp:1.13  Sun Jan  2 06:34:43 2005
+++ usata2/src/system.cpp       Mon Jan  3 07:43:49 2005
@@ -10,7 +10,7 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: system.cpp,v 1.13 2005/01/02 06:34:43 skunix Exp $
+// $Id: system.cpp,v 1.14 2005/01/03 07:43:49 skunix Exp $
 
 #include "system.hpp"
 #include <SDL.h>
@@ -126,6 +126,7 @@
                        SDL_GL_GetAttribute(SDL_GL_DEPTH_SIZE,&depth);
                        logstream << "set video mode ok, GL_DEPTH_SIZE (" << 
depth <<")" << log::commit;
                        init_glew();
+                       glViewport(0,0,(GLsizei)vm.width, (GLsizei) vm.height);
                }
                else
                {




reply via email to

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