diff options
author | Karl Schultz <kschultz@freedesktop.org> | 2004-09-17 22:02:05 +0000 |
---|---|---|
committer | Karl Schultz <kschultz@freedesktop.org> | 2004-09-17 22:02:05 +0000 |
commit | ffe52c64448a4a3cf10565d3b01591fa9f520c42 (patch) | |
tree | 6a28c76bd2cd5b0e64734645bd93769e17cba6c8 /src/mesa/drivers/windows/gdi | |
parent | 6616146698834eb99d1413b6ca400bc47aa0d217 (diff) |
rearrange a couple of lines of code to avoid compilation error in VC 6,
probably due to a compiler bug.
Diffstat (limited to 'src/mesa/drivers/windows/gdi')
-rw-r--r-- | src/mesa/drivers/windows/gdi/wmesa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/windows/gdi/wmesa.c b/src/mesa/drivers/windows/gdi/wmesa.c index 53d202251a..ea13a31c42 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<n; i++) index[i]=Mem[i]; |