diff options
author | Justin Clark-Casey (justincc) | 2010-04-16 20:40:01 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-04-16 20:40:01 +0100 |
commit | c77444a8215748633812e67adea8c7ff66a5480d (patch) | |
tree | 3f674ce058a0ca4c8b1ab2fd521f8728a447de08 /OpenSim/Framework/Util.cs | |
parent | Changed the GetTextureModule backport to work with the 0.6.9 codebase (diff) | |
download | opensim-SC-c77444a8215748633812e67adea8c7ff66a5480d.zip opensim-SC-c77444a8215748633812e67adea8c7ff66a5480d.tar.gz opensim-SC-c77444a8215748633812e67adea8c7ff66a5480d.tar.bz2 opensim-SC-c77444a8215748633812e67adea8c7ff66a5480d.tar.xz |
Fix http://opensimulator.org/mantis/view.php?id=4657 where OpenSim.Grid.UserServer.exe fails on startup if no previous config
probably appears to occur because mono 2.4.2.3 (and possibly later) erroneously returns a value of 0 for BufferWidth and BufferHeight in some circumstances
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r-- | OpenSim/Framework/Util.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 48435cb..ec33b5e 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -1441,4 +1441,4 @@ namespace OpenSim.Framework | |||
1441 | return (diff >= 0) ? diff : (diff + EnvironmentTickCountMask + 1); | 1441 | return (diff >= 0) ? diff : (diff + EnvironmentTickCountMask + 1); |
1442 | } | 1442 | } |
1443 | } | 1443 | } |
1444 | } | 1444 | } \ No newline at end of file |