mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-09-19 14:53:49 +00:00
Use ChunkyPNG for converting ICO bmp to png as gosu doesn't like doing it on the background thread, fixed Worker#service payload sometimes returning multiple events causing the json parser to have a bad time- also can support payloads larger than a megabyte now.
This commit is contained in:
@@ -122,7 +122,8 @@ module W3DHubLauncher
|
||||
end
|
||||
end
|
||||
|
||||
Gosu::Image.from_blob(image.width, image.height, blob)
|
||||
# Gosu::Image.from_blob(image.width, image.height, blob)
|
||||
ChunkyPNG::Canvas.from_rgba_stream(image.width, image.height, blob)
|
||||
end
|
||||
|
||||
def image_data(image)
|
||||
|
||||
Reference in New Issue
Block a user