Fredrik Höglund writes:
> On Thursday 13 February 2014, Francisco Jerez wrote:
>> Fredrik Höglund writes:
>>[...]
>> Can't you get rid of the whole block above by declaring 'const GLuint
>> texture = (textures ? textures[i] : 0);' in the loop below, and then
>> 's/textures[i]/texture/'?
>
> I co
On Thursday 13 February 2014, Francisco Jerez wrote:
> Fredrik Höglund writes:
>
> > ---
> > src/mesa/main/shaderimage.c | 164
> > +++
> > 1 file changed, 164 insertions(+)
> >
> > diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c
>
Fredrik Höglund writes:
> ---
> src/mesa/main/shaderimage.c | 164
> +++
> 1 file changed, 164 insertions(+)
>
> diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c
> index ce63bee..27695a3 100644
> --- a/src/mesa/main/shaderimage.c
>
---
src/mesa/main/shaderimage.c | 164 +++
1 file changed, 164 insertions(+)
diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c
index ce63bee..27695a3 100644
--- a/src/mesa/main/shaderimage.c
+++ b/src/mesa/main/shaderimage.c
@@ -33,6 +