removed not needed code

This commit is contained in:
Pawel Kolodziejski 2006-05-15 13:30:34 +00:00
parent a7076a7e11
commit 43786c80a9
10 changed files with 2 additions and 277 deletions

View file

@ -18,22 +18,6 @@ void gl_convertRGB_to_5R6G5B(unsigned short *pixmap,unsigned char *rgb,
}
}
void gl_convertRGB_to_8A8R8G8B(unsigned int *pixmap, unsigned char *rgb,
int xsize, int ysize)
{
int i,n;
unsigned char *p;
p=rgb;
n=xsize*ysize;
for(i=0;i<n;i++) {
pixmap[i]=(((unsigned int)p[0])<<16) |
(((unsigned int)p[1])<<8) |
(((unsigned int)p[2]));
p+=3;
}
}
/*
* linear interpolation with xf,yf normalized to 2^16
*/