mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
mesa: Initialize variable in get_tex_color_index.
This commit is contained in:
parent
4f481cb87a
commit
62a0d4ef7f
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ get_tex_color_index(GLcontext *ctx, GLuint dimensions,
|
|||
|
||||
for (img = 0; img < depth; img++) {
|
||||
for (row = 0; row < height; row++) {
|
||||
GLuint indexRow[MAX_WIDTH];
|
||||
GLuint indexRow[MAX_WIDTH] = { 0 };
|
||||
void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels,
|
||||
width, height, format, type,
|
||||
img, row, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue