kikito / love-loader

Threaded resource loading for LÖVE
http://love2d.org
MIT License
131 stars 16 forks source link

Error when loading ttf font #25

Closed hobbit-lol closed 5 years ago

hobbit-lol commented 6 years ago

Error: bad argument #1 to '?' (filename, File, or FileData expected)

Due to equal requestKey in both font and BMFont kinds, they got same channel. That leads to situation, when resource is post-processed by wrong kind in getResourceFromThreadIfAvailable()