Skip to content

Commit

Permalink
Merge pull request #183 from aferust/master
Browse files Browse the repository at this point in the history
upgrade gamut to 2.6.0
  • Loading branch information
aferust authored Apr 21, 2024
2 parents b01319a + e29c5d9 commit e68943a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
],
"dependencies":{
"dcv:core": "*",
"gamut": "~>1.0.0"
"gamut": "~>2.6.0"
},
"buildTypes": {
"unittest-release": {
Expand Down
4 changes: 2 additions & 2 deletions source/dcv/imageio/image.d
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ Image imreadImpl_imageformats(in string path, ReadParams params)
}
}

if (gimage.errored){
if (gimage.isError){
import core.stdc.stdio : printf;
debug printf("Gamut error: %s\n", gimage.errorMessage.ptr);
destroyFree(im);
Expand All @@ -455,7 +455,7 @@ Image imreadImpl_imageformats(in string path, ReadParams params)
}
}

if (gimage.errored){
if (gimage.isError){
import core.stdc.stdio : printf;
debug printf("Gamut error: %s\n", gimage.errorMessage.ptr);
destroyFree(im);
Expand Down

0 comments on commit e68943a

Please sign in to comment.