mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
mesa: Mark as XXX unresolved warnings on windows.
This commit is contained in:
parent
7b2ef2b884
commit
2acf917f00
2 changed files with 9 additions and 0 deletions
|
|
@ -408,6 +408,11 @@ make_temp_float_image(GLcontext *ctx, GLuint dims,
|
|||
const GLint logComponents
|
||||
= _mesa_components_in_format(logicalBaseFormat);
|
||||
const GLfloat *src = convImage;
|
||||
|
||||
/* XXX: Both `convWidth' and `convHeight' are uninitialised -- windows compiler
|
||||
* will issue warnings for the following line.
|
||||
* Presumably this happens when `FEATURE_convolve' is defined to `0'.
|
||||
*/
|
||||
GLfloat *dst = tempImage + img * (convWidth * convHeight * 4);
|
||||
for (row = 0; row < convHeight; row++) {
|
||||
_mesa_pack_rgba_span_float(ctx, convWidth,
|
||||
|
|
|
|||
|
|
@ -539,6 +539,10 @@ _mesa_bind_attrib_location(GLcontext *ctx, GLuint program, GLuint index,
|
|||
oldIndex = -1;
|
||||
}
|
||||
|
||||
/* XXX: `datatype' is uninitialised at this point -- windows compiler
|
||||
* will issue a warning for the following line.
|
||||
*/
|
||||
|
||||
/* this will replace the current value if it's already in the list */
|
||||
i = _mesa_add_attribute(shProg->Attributes, name, size, datatype, index);
|
||||
if (i < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue