소스 검색

Fix double loading of image

nagadomi 9 년 전
부모
커밋
84c38baab7
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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]