commit | f9c574d7192d2193ff3e12629a8db1a74b6dbf55 | [log] [tgz] |
---|---|---|
author | Michal Krol <michal@tungstengraphics.com> | Tue Jul 15 11:44:47 2008 +0200 |
committer | Michal Krol <michal@tungstengraphics.com> | Tue Jul 15 11:49:02 2008 +0200 |
tree | cb128f689d953fc8b8fa21cd990ef478dfe757a6 | |
parent | 6c534b830c6f5427c391c5225c34561141c201ba [diff] [blame] |
mesa: Silence compiler warnings on Windows.
diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c index afdd7e5..b302442 100644 --- a/src/mesa/shader/prog_parameter.c +++ b/src/mesa/shader/prog_parameter.c
@@ -319,6 +319,7 @@ return (GLint) paramList->ParameterValues[i][0]; } else { + GLuint i; const GLint size = 1; /* a sampler is basically a texture unit number */ GLfloat value; GLint numSamplers = 0;