projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6616146
)
rearrange a couple of lines of code to avoid compilation error in VC 6,
author
Karl Schultz
<kschultz@freedesktop.org>
Fri, 17 Sep 2004 22:02:05 +0000
(22:02 +0000)
committer
Karl Schultz
<kschultz@freedesktop.org>
Fri, 17 Sep 2004 22:02:05 +0000
(22:02 +0000)
probably due to a compiler bug.
src/mesa/drivers/windows/gdi/wmesa.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/windows/gdi/wmesa.c
b/src/mesa/drivers/windows/gdi/wmesa.c
index 53d202251adfcc198b353efe9ee9bf0cd8432128..ea13a31c42b9103b7317ae168d69334e1827cfd2 100644
(file)
--- 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];