mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: gl: fix maybe-uninitialized
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user