diff options
| author | Juan Linietsky | 2016-03-12 10:44:12 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-03-12 10:46:38 -0300 |
| commit | 8b1dcbfe4d92f9d7273bbd2f1eb805e5c508961a (patch) | |
| tree | 77bd972e494e7deeef49bfa271c94d03ef2af749 /core/image.h | |
| parent | d85f06c42d54971af5da826581c75d1ed001475e (diff) | |
| download | godot-8b1dcbfe4d92f9d7273bbd2f1eb805e5c508961a.tar.gz godot-8b1dcbfe4d92f9d7273bbd2f1eb805e5c508961a.tar.zst godot-8b1dcbfe4d92f9d7273bbd2f1eb805e5c508961a.zip | |
Diffstat (limited to 'core/image.h')
| -rw-r--r-- | core/image.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/image.h b/core/image.h index 8f8fff755..fe1822f66 100644 --- a/core/image.h +++ b/core/image.h @@ -97,6 +97,7 @@ public: }; static Image (*_png_mem_loader_func)(const uint8_t* p_png,int p_size); + static Image (*_jpg_mem_loader_func)(const uint8_t* p_png,int p_size); static void (*_image_compress_bc_func)(Image *); static void (*_image_compress_pvrtc2_func)(Image *); static void (*_image_compress_pvrtc4_func)(Image *); @@ -355,7 +356,7 @@ public: static void set_compress_bc_func(void (*p_compress_func)(Image *)); static String get_format_name(Format p_format); - Image(const uint8_t* p_mem_png, int p_len=-1); + Image(const uint8_t* p_mem_png_jpg, int p_len=-1); Image(const char **p_xpm); ~Image(); |
