summaryrefslogtreecommitdiffstats
path: root/drivers/gles3
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-07-09 15:59:30 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-07-09 16:12:22 +0200
commit247a481001debb18ed9a9bbb56668def927f85de (patch)
treeee24bf4b0446dd0cbffe2654a29c0fdedaf5e55e /drivers/gles3
parent82cedc83c9069125207c128f9a07ce3d82c317cc (diff)
downloadredot-engine-247a481001debb18ed9a9bbb56668def927f85de.tar.gz
Fix a couple GCC 14 `-Wmaybe-uninitialized` warnings
Diffstat (limited to 'drivers/gles3')
-rw-r--r--drivers/gles3/storage/texture_storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/storage/texture_storage.h b/drivers/gles3/storage/texture_storage.h
index 8a03d72b9b..1b83efee32 100644
--- a/drivers/gles3/storage/texture_storage.h
+++ b/drivers/gles3/storage/texture_storage.h
@@ -169,7 +169,7 @@ struct Texture {
TYPE_3D
};
- Type type;
+ Type type = TYPE_2D;
RS::TextureLayeredType layered_type = RS::TEXTURE_LAYERED_2D_ARRAY;
GLenum target = GL_TEXTURE_2D;