mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 12:18:09 +02:00
rearrange a couple of lines of code to avoid compilation error in VC 6,
probably due to a compiler bug.
This commit is contained in:
parent
6616146698
commit
ffe52c6444
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue