You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Initialize class/struct variables with default values in core/ and drivers/
This commit is contained in:
@@ -542,9 +542,9 @@ void _OS::dump_memory_to_file(const String &p_file) {
|
||||
struct _OSCoreBindImg {
|
||||
String path;
|
||||
Size2 size;
|
||||
int fmt;
|
||||
int fmt = 0;
|
||||
ObjectID id;
|
||||
int vram;
|
||||
int vram = 0;
|
||||
bool operator<(const _OSCoreBindImg &p_img) const { return vram == p_img.vram ? id < p_img.id : vram > p_img.vram; }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user