From da8fecf25e11ea05ad6aaab4f9676c78e4faecdc Mon Sep 17 00:00:00 2001 From: "Daniel J. Ramirez" Date: Fri, 18 Aug 2017 21:21:24 -0500 Subject: Added support for SVG --- modules/hdr/image_loader_hdr.cpp | 2 +- modules/hdr/image_loader_hdr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/hdr') diff --git a/modules/hdr/image_loader_hdr.cpp b/modules/hdr/image_loader_hdr.cpp index 19df27b962..a3f0601043 100644 --- a/modules/hdr/image_loader_hdr.cpp +++ b/modules/hdr/image_loader_hdr.cpp @@ -34,7 +34,7 @@ #include "thirdparty/tinyexr/tinyexr.h" -Error ImageLoaderHDR::load_image(Ref p_image, FileAccess *f, bool p_force_linear) { +Error ImageLoaderHDR::load_image(Ref p_image, FileAccess *f, bool p_force_linear, float p_scale) { String header = f->get_token(); diff --git a/modules/hdr/image_loader_hdr.h b/modules/hdr/image_loader_hdr.h index 127833ebd0..1e08e954e1 100644 --- a/modules/hdr/image_loader_hdr.h +++ b/modules/hdr/image_loader_hdr.h @@ -38,7 +38,7 @@ class ImageLoaderHDR : public ImageFormatLoader { public: - virtual Error load_image(Ref p_image, FileAccess *f, bool p_force_linear); + virtual Error load_image(Ref p_image, FileAccess *f, bool p_force_linear, float p_scale); virtual void get_recognized_extensions(List *p_extensions) const; ImageLoaderHDR(); }; -- cgit v1.2.3