Fix a couple GCC 14 -Wmaybe-uninitialized warnings

This commit is contained in:
Rémi Verschelde
2024-07-09 15:59:30 +02:00
parent 82cedc83c9
commit 247a481001
2 changed files with 2 additions and 2 deletions

View File

@ -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;