summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-07-25 10:41:53 +0200
committerMichal Krol <[email protected]>2008-07-25 10:41:53 +0200
commit2acf917f00b570274b58ad7e58688715730253d0 (patch)
treed5114a7faec7d1fd7ce555ddb27bc5138fb7dcc3 /src/mesa/main/texstore.c
parent7b2ef2b8849bbf400eeed9642c26c140cc7d6beb (diff)
mesa: Mark as XXX unresolved warnings on windows.
Diffstat (limited to 'src/mesa/main/texstore.c')
-rw-r--r--src/mesa/main/texstore.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index edb1ae965d0..a0ea245507d 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore.c
@@ -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,