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>
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user