mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#include "thirdparty/tinyexr/tinyexr.h"
|
||||
|
||||
Error ImageLoaderTinyEXR::load_image(Ref<Image> p_image, FileAccess *f, bool p_force_linear, float p_scale) {
|
||||
|
||||
PoolVector<uint8_t> src_image;
|
||||
int src_image_len = f->get_len();
|
||||
ERR_FAIL_COND_V(src_image_len == 0, ERR_FILE_CORRUPT);
|
||||
@@ -171,7 +170,6 @@ Error ImageLoaderTinyEXR::load_image(Ref<Image> p_image, FileAccess *f, bool p_f
|
||||
|
||||
//print_line("reading format: " + Image::get_format_name(format));
|
||||
{
|
||||
|
||||
PoolVector<uint8_t>::Write imgdata_write = imgdata.write();
|
||||
uint8_t *wd = imgdata_write.ptr();
|
||||
uint16_t *iw16 = (uint16_t *)wd;
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
static ImageLoaderTinyEXR *image_loader_tinyexr = NULL;
|
||||
|
||||
void register_tinyexr_types() {
|
||||
|
||||
image_loader_tinyexr = memnew(ImageLoaderTinyEXR);
|
||||
ImageLoader::add_image_format_loader(image_loader_tinyexr);
|
||||
|
||||
@@ -44,7 +43,6 @@ void register_tinyexr_types() {
|
||||
}
|
||||
|
||||
void unregister_tinyexr_types() {
|
||||
|
||||
memdelete(image_loader_tinyexr);
|
||||
|
||||
Image::save_exr_func = NULL;
|
||||
|
||||
Reference in New Issue
Block a user