mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 19:20:12 +01:00
vbo: fix an unitialized-variable warning
It looks like a bug to me.
Cc: 10.5 10.4 10.3 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 0feb0b7373)
This commit is contained in:
parent
7e57411b9a
commit
6da4e66d4e
1 changed files with 1 additions and 0 deletions
|
|
@ -210,6 +210,7 @@ static inline float conv_i2_to_norm_float(const struct gl_context *ctx, int i2)
|
|||
} \
|
||||
} else if ((type) == GL_UNSIGNED_INT_10F_11F_11F_REV) { \
|
||||
float res[4]; \
|
||||
res[3] = 1; \
|
||||
r11g11b10f_to_float3((arg), res); \
|
||||
ATTR##val##FV((attr), res); \
|
||||
} else \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue