You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-02 16:48:55 +00:00
Fix some compilation warnings.
Redone the commit based on the input in https://github.com/godotengine/godot/pull/7851 . Not all warnings were fixed but it's a start.
This commit is contained in:
@@ -114,7 +114,7 @@ RES ResourceFormatDDS::load(const String &p_path, const String& p_original_path,
|
||||
uint32_t width = f->get_32();
|
||||
uint32_t height = f->get_32();
|
||||
uint32_t pitch = f->get_32();
|
||||
uint32_t depth = f->get_32();
|
||||
/* uint32_t depth = */ f->get_32();
|
||||
uint32_t mipmaps = f->get_32();
|
||||
|
||||
//skip 11
|
||||
@@ -130,7 +130,7 @@ RES ResourceFormatDDS::load(const String &p_path, const String& p_original_path,
|
||||
}
|
||||
|
||||
|
||||
uint32_t format_size = f->get_32();
|
||||
/* uint32_t format_size = */ f->get_32();
|
||||
uint32_t format_flags = f->get_32();
|
||||
uint32_t format_fourcc = f->get_32();
|
||||
uint32_t format_rgb_bits = f->get_32();
|
||||
@@ -139,9 +139,9 @@ RES ResourceFormatDDS::load(const String &p_path, const String& p_original_path,
|
||||
uint32_t format_blue_mask = f->get_32();
|
||||
uint32_t format_alpha_mask = f->get_32();
|
||||
|
||||
uint32_t caps_1 = f->get_32();
|
||||
uint32_t caps_2 = f->get_32();
|
||||
uint32_t caps_ddsx = f->get_32();
|
||||
/* uint32_t caps_1 = */ f->get_32();
|
||||
/* uint32_t caps_2 = */ f->get_32();
|
||||
/* uint32_t caps_ddsx = */ f->get_32();
|
||||
|
||||
//reserved skip
|
||||
f->get_32();
|
||||
|
||||
Reference in New Issue
Block a user