png + compress: Rearrange error unions.
This commit is contained in:
1 parent
21c6d691d8
commit
9b5ae95677
6 files changed
+78
-68
No files matched your search
@@ -12,7 +12,6 @@ package png
|
||||
An example of how to use `load`.
|
||||
*/
|
||||
|
||||
import "core:compress"
|
||||
import "core:image"
|
||||
// import "core:image/png"
|
||||
import "core:bytes"
|
||||
@@ -42,7 +41,7 @@ demo :: proc() {
|
||||
file: string
|
||||
|
||||
options := image.Options{.return_metadata}
|
||||
err: compress.Error
|
||||
err: image.Error
|
||||
img: ^image.Image
|
||||
|
||||
file = "../../../misc/logo-slim.png"
|
||||
|
||||
Reference in new issue
Block a user