mirror of https://github.com/bjornbytes/lovr.git
Mark ASTC textures as sRGB;
They don't contain this metadata, but marking as sRGB is more reasonable than not.
This commit is contained in:
parent
76557eb6ed
commit
bcde681710
|
@ -885,6 +885,7 @@ static Image* loadASTC(Blob* blob) {
|
||||||
image->width = width;
|
image->width = width;
|
||||||
image->height = height;
|
image->height = height;
|
||||||
image->format = format;
|
image->format = format;
|
||||||
|
image->flags = IMAGE_SRGB;
|
||||||
image->layers = 1;
|
image->layers = 1;
|
||||||
image->levels = 1;
|
image->levels = 1;
|
||||||
image->blob = blob;
|
image->blob = blob;
|
||||||
|
|
Loading…
Reference in New Issue