diff options
author | Michal Krol <[email protected]> | 2008-07-15 11:44:47 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-07-15 11:49:02 +0200 |
commit | f9c574d7192d2193ff3e12629a8db1a74b6dbf55 (patch) | |
tree | cb128f689d953fc8b8fa21cd990ef478dfe757a6 /src/mesa/shader/prog_parameter.c | |
parent | 6c534b830c6f5427c391c5225c34561141c201ba (diff) |
mesa: Silence compiler warnings on Windows.
Diffstat (limited to 'src/mesa/shader/prog_parameter.c')
-rw-r--r-- | src/mesa/shader/prog_parameter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c index afdd7e5489c..b302442227d 100644 --- a/src/mesa/shader/prog_parameter.c +++ b/src/mesa/shader/prog_parameter.c @@ -319,6 +319,7 @@ _mesa_add_sampler(struct gl_program_parameter_list *paramList, 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; |