ref: gl: fix maybe-uninitialized

This commit is contained in:
Alibek Omarov
2026-05-13 10:47:15 +05:00
parent 47aad1b3a3
commit cef6cb58bb

View File

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