1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Core: Modernize C headers with C++ equivalents

This commit is contained in:
Thaddeus Crews
2025-04-28 16:05:13 -05:00
parent a8ece29adc
commit 01fc9aee6c
101 changed files with 126 additions and 168 deletions

View File

@@ -32,8 +32,6 @@
#include "drivers/png/png_driver_common.h"
#include <string.h>
Error ImageLoaderPNG::load_image(Ref<Image> p_image, Ref<FileAccess> f, BitField<ImageFormatLoader::LoaderFlags> p_flags, float p_scale) {
const uint64_t buffer_size = f->get_length();
Vector<uint8_t> file_buffer;