aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-10 19:15:31 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-10 19:15:31 +0000
commit17deba0bcda7f39696bad713bc2c0bc49ec4fb59 (patch)
treec9b5595a875d9070820c7b41b3037cecf6578da2
parent64ed220b59465b39fbbd6957dcb93618ab330cf4 (diff)
downloadusdx-17deba0bcda7f39696bad713bc2c0bc49ec4fb59.tar.gz
usdx-17deba0bcda7f39696bad713bc2c0bc49ec4fb59.tar.xz
usdx-17deba0bcda7f39696bad713bc2c0bc49ec4fb59.zip
some cosmetics
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1721 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Lua/game/scripts/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lua/game/scripts/main.lua b/Lua/game/scripts/main.lua
index 3e035bb9..e2fd95c6 100644
--- a/Lua/game/scripts/main.lua
+++ b/Lua/game/scripts/main.lua
@@ -1,5 +1,5 @@
-- Calculate FPS
-FPScounter = 1 + (FPScounter or 0) -- increment FPScounter (which is nil, when undefined, therefore "or 0")
+FPScounter = 1 + (FPScounter or 0) -- increment FPScounter (which is nil, when undefined, therefore "or 0")
if os.time() > (LastTime or 0) then
LastTime = os.time()
print("FPS: " .. FPScounter - (LastFPScounter or 0)) -- print is only displayed, if compiled with DEBUG
@@ -35,4 +35,4 @@ gl.TexCoord(1, 1); gl.Vertex(110, 110);
gl.TexCoord(1, 0); gl.Vertex(110, 10);
gl.End()
gl.Disable("GL_TEXTURE_2D")
-gl.Disable("GL_BLEND")
+gl.Disable("GL_BLEND") \ No newline at end of file