diff options
author | Filippos Karapetis | 2011-01-28 17:02:02 +0000 |
---|---|---|
committer | Filippos Karapetis | 2011-01-28 17:02:02 +0000 |
commit | 7ed5a928231f87e01ef717316c2f949c62fe9d2d (patch) | |
tree | 621b48b3da5a702ec070b86553a73a0a81fc84f1 /engines/sword25/gfx/graphicengine_script.cpp | |
parent | c63ff39a7f79df2cdac8b28d8c0e0220b3574d11 (diff) | |
download | scummvm-rg350-7ed5a928231f87e01ef717316c2f949c62fe9d2d.tar.gz scummvm-rg350-7ed5a928231f87e01ef717316c2f949c62fe9d2d.tar.bz2 scummvm-rg350-7ed5a928231f87e01ef717316c2f949c62fe9d2d.zip |
SWORD25: Removed some more unused/unimplemented debug code
svn-id: r55595
Diffstat (limited to 'engines/sword25/gfx/graphicengine_script.cpp')
-rw-r--r-- | engines/sword25/gfx/graphicengine_script.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sword25/gfx/graphicengine_script.cpp b/engines/sword25/gfx/graphicengine_script.cpp index 3888529a2a..f865400677 100644 --- a/engines/sword25/gfx/graphicengine_script.cpp +++ b/engines/sword25/gfx/graphicengine_script.cpp @@ -346,7 +346,8 @@ static int isWindowed(lua_State *L) { static int getFPSCount(lua_State *L) { GraphicEngine *pGE = getGE(); - lua_pushnumber(L, pGE->getFPSCount()); + // Used in a debug function + lua_pushnumber(L, 0); return 1; } @@ -395,7 +396,8 @@ static int saveThumbnailScreenshot(lua_State *L) { static int getRepaintedPixels(lua_State *L) { GraphicEngine *pGE = getGE(); - lua_pushnumber(L, static_cast<lua_Number>(pGE->getRepaintedPixels())); + // Used in a debug function. + lua_pushnumber(L, 0); return 1; } |