Several fixes related to PBR and Environment
This commit is contained in:
parent
0a6faeb4f5
commit
5567e898d1
21 changed files with 132 additions and 97 deletions
|
|
@ -115,7 +115,7 @@ static Ref<Image> _webp_lossy_unpack(const PoolVector<uint8_t> &p_buffer) {
|
|||
return img;
|
||||
}
|
||||
|
||||
Error ImageLoaderWEBP::load_image(Ref<Image> p_image, FileAccess *f) {
|
||||
Error ImageLoaderWEBP::load_image(Ref<Image> p_image, FileAccess *f, bool p_force_linear) {
|
||||
|
||||
uint32_t size = f->get_len();
|
||||
PoolVector<uint8_t> src_image;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue