Browse Source

Fix double loading of image

nagadomi 9 years ago
parent
commit
84c38baab7
1 changed files with 0 additions and 1 deletions
  1. 0 1
      lib/image_loader.lua

+ 0 - 1
lib/image_loader.lua

@@ -78,7 +78,6 @@ function image_loader.decode_byte(blob)
       end
       return {im, alpha, blob}
    end
-   load_image()
    local state, ret = pcall(load_image)
    if state then
       return ret[1], ret[2], ret[3]