From cef6cb58bb990d5527ebbcf48750fe573d64c2a2 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 13 May 2026 10:47:15 +0500 Subject: [PATCH] ref: gl: fix maybe-uninitialized --- ref/gl/gl_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref/gl/gl_image.c b/ref/gl/gl_image.c index d51461d8..68d0df88 100644 --- a/ref/gl/gl_image.c +++ b/ref/gl/gl_image.c @@ -846,7 +846,7 @@ static void GL_TextureImageRAW( gl_texture_t *tex, GLint side, GLint level, GLin const GLuint cubeTarget = GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB; const qboolean subImage = FBitSet( tex->flags, TF_IMG_UPLOADED ) && data != NULL; const rawformat_t rawformat = gEngfuncs.Image_GetPFDesc( type )->rawformat; - GLenum inFormat; + GLenum inFormat = 0; GLint dataType; Assert( tex != NULL );