1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Load texture in RAM by default

This commit is contained in:
Reuh 2015-08-22 20:07:59 +02:00
parent 604247f278
commit 8da0e47ae3
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ local dMul = 1
local angle = 0
local texture1 = gfx.texture.load("sdmc:/3ds/ctruLua/icon.png", gfx.texture.PLACE_RAM, gfx.texture.TYPE_PNG);
local texture1 = gfx.texture.load("sdmc:/3ds/ctruLua/icon.png");
if not texture1 then error("Giants ducks came from another planet") end
gfx.color.setBackground(gfx.color.RGBA8(200, 200, 200))