From: Karl Schultz Date: Fri, 17 Sep 2004 22:02:05 +0000 (+0000) Subject: rearrange a couple of lines of code to avoid compilation error in VC 6, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ffe52c64448a4a3cf10565d3b01591fa9f520c42;p=mesa.git rearrange a couple of lines of code to avoid compilation error in VC 6, probably due to a compiler bug. --- diff --git a/src/mesa/drivers/windows/gdi/wmesa.c b/src/mesa/drivers/windows/gdi/wmesa.c index 53d202251ad..ea13a31c42b 100644 --- a/src/mesa/drivers/windows/gdi/wmesa.c +++ b/src/mesa/drivers/windows/gdi/wmesa.c @@ -979,8 +979,8 @@ static void read_ci32_span( const GLcontext* ctx, GLuint n, GLint x, GLint y, GLuint index[]) { GLuint i; - (void) ctx; BYTE *Mem=Current->ScreenMem+FLIP(y)*Current->ScanWidth+x; + (void) ctx; assert(Current->rgb_flag==GL_FALSE); for (i=0; i