aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/game
diff options
context:
space:
mode:
Diffstat (limited to 'Lua/game')
-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