Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Firew0lf/ctruLua
Browse files Browse the repository at this point in the history
  • Loading branch information
firew0lf committed Aug 23, 2015
2 parents af9e160 + bbdf8d1 commit 2f27ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/texture.c
Expand Up @@ -16,7 +16,7 @@ u8 getType(const char *name) {
// module functions
static int texture_load(lua_State *L) {
const char *path = luaL_checkstring(L, 1);
u8 place = luaL_optinteger(L, 2, 0); //place in ram by default
u8 place = luaL_optinteger(L, 2, SF2D_PLACE_RAM); //place in ram by default
u8 type = luaL_optinteger(L, 3, 3); //type 3 is "search at the end of the filename"

texture_userdata *texture;
Expand Down

0 comments on commit 2f27ea3

Please sign in to comment.