mirror of https://github.com/kivy/kivy.git
fix osxcoreimage for the latest kivy version
This commit is contained in:
parent
42a663a4f9
commit
90de4f3e1c
|
@ -33,7 +33,7 @@ class ImageLoaderOSXCoreImage(ImageLoaderBase):
|
||||||
Logger.warning('Image: Unable to load image <%s>' % filename)
|
Logger.warning('Image: Unable to load image <%s>' % filename)
|
||||||
raise Exception('Unable to load image')
|
raise Exception('Unable to load image')
|
||||||
w, h, imgtype, data = ret
|
w, h, imgtype, data = ret
|
||||||
return ImageData(w, h, imgtype, data)
|
return (ImageData(w, h, imgtype, data), )
|
||||||
|
|
||||||
# register
|
# register
|
||||||
ImageLoader.register(ImageLoaderOSXCoreImage)
|
ImageLoader.register(ImageLoaderOSXCoreImage)
|
||||||
|
|
Loading…
Reference in New Issue