summaryrefslogtreecommitdiffstats
path: root/src/viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewport.c')
-rw-r--r--src/viewport.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/viewport.c b/src/viewport.c
index e908268..f897ba0 100644
--- a/src/viewport.c
+++ b/src/viewport.c
@@ -45,17 +45,3 @@ init_viewport(Uint16 width, Uint16 height, int bpp)
return vp;
}
-
-int
-init_viewport_lua(lua_State *L)
-{
- Uint16 width;
- Uint16 height;
-
- width = lua_tointeger(L, 1);
- height = lua_tointeger(L, 2);
-
- init_viewport(width, height, 8);
-
- return 0;
-}