aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/lx
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-04-25 18:04:01 +0200
committerAlex Auvolat <alex@adnab.me>2017-04-25 18:04:01 +0200
commita959c94c1d67e234adbbb96d0d290eaf3bc26ac1 (patch)
tree7056780f8cc1398fccf870991f2a155b963acfb8 /src/sysbin/lx
parent978b3234a04f11f959f603db4756253278ca65df (diff)
downloadkogata-a959c94c1d67e234adbbb96d0d290eaf3bc26ac1.tar.gz
kogata-a959c94c1d67e234adbbb96d0d290eaf3bc26ac1.zip
Gui start
Diffstat (limited to 'src/sysbin/lx')
-rw-r--r--src/sysbin/lx/lxdrawlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysbin/lx/lxdrawlib.c b/src/sysbin/lx/lxdrawlib.c
index 91bf07f..001d378 100644
--- a/src/sysbin/lx/lxdrawlib.c
+++ b/src/sysbin/lx/lxdrawlib.c
@@ -89,7 +89,7 @@ static int font_text_height(lua_State *L) {
// ====================================================================
// SURFACES
-static int draw_from_fd(lua_State *L) {
+static int draw_surface_from_fd(lua_State *L) {
int fd = luaL_checkinteger(L, 1);
luaL_checktype(L, 2, LUA_TTABLE);
@@ -267,7 +267,7 @@ static int surface_write(lua_State *L) {
/* }====================================================== */
static const luaL_Reg drawlib[] = {
- {"from_fd", draw_from_fd},
+ {"surface_from_fd",draw_surface_from_fd},
{"load_font", draw_loadfont},
{NULL, NULL}
};