mesa: minor formatting fix in get_tex_rgba_compressed()

This commit is contained in:
Brian Paul
2015-10-28 11:03:21 -06:00
parent f04f13622f
commit 8e9c3070bf
+1 -2
View File
@@ -297,8 +297,7 @@ get_tex_rgba_compressed(struct gl_context *ctx, GLuint dimensions,
uint8_t rebaseSwizzle[4];
/* Decompress into temp float buffer, then pack into user buffer */
tempImage = malloc(width * height * depth
* 4 * sizeof(GLfloat));
tempImage = malloc(width * height * depth * 4 * sizeof(GLfloat));
if (!tempImage) {
_mesa_error(ctx, GL_OUT_OF_MEMORY, "glGetTexImage()");
return;