From d12a871b21adee531661f4cf6561d2ffda685359 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 29 Aug 2003 14:45:45 +0000 Subject: [PATCH] s/GLuint/GLint/ --- src/mesa/swrast/s_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c index 36f2975..6f38aab 100644 --- a/src/mesa/swrast/s_texture.c +++ b/src/mesa/swrast/s_texture.c @@ -3727,7 +3727,7 @@ texture_combine( const GLcontext *ctx, GLuint unit, GLuint n, #if CHAN_TYPE == GL_FLOAT rgba[i][ACOMP] = ((arg0[i][ACOMP] * arg2[i][ACOMP]) + arg1[i][ACOMP]) * Amult; #else - GLuint a = (PROD(arg0[i][ACOMP], arg2[i][ACOMP]) + GLint a = (PROD(arg0[i][ACOMP], arg2[i][ACOMP]) + ((GLuint) arg1[i][ACOMP] << CHAN_BITS)) >> shift; rgba[i][ACOMP] = (GLchan) CLAMP(a, 0, CHAN_MAX); -- 2.7.4