1 void _mesa_DrawPixels(int width,int height,unsigned format,unsigned type,const void * pixels)2_mesa_DrawPixels (int width, int height, unsigned format, 3 unsigned type, const void * pixels) 4 { 5 switch (format) 6 { 7 case 0x1900: 8 func1 (); 9 break; 10 case 0x1907: 11 case 0x80E0: 12 case 0x1908: 13 case 0x80E1: 14 case 0x8000: 15 func2 (); 16 break; 17 } 18 } 19 20