Index: vo_gl.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v retrieving revision 1.34 diff -u -r1.34 vo_gl.c --- vo_gl.c 30 Dec 2002 01:34:20 -0000 1.34 +++ vo_gl.c 16 May 2003 21:23:37 -0000 @@ -20,7 +20,6 @@ //#include #include #include -#include "../postproc/rgb2rgb.h" #include @@ -169,22 +168,6 @@ | ButtonPressMask | ButtonReleaseMask ); -#if 0 - // If we have blue in the lowest bit then obviously RGB - mode = ((myximage->blue_mask & 0x01) != 0) ? MODE_RGB : MODE_BGR; -#ifdef WORDS_BIGENDIAN - if (myximage->byte_order != MSBFirst) -#else - if (myximage->byte_order != LSBFirst) -#endif - { - printf("[gl] no support for non-native XImage byte order!\n"); - return -1; - } - - printf("DEPTH=%d BPP=%d\n",depth,bpp); -#endif - /* * If depth is 24 then it may either be a 3 or 4 byte per pixel * format. We can't use bpp because then we would lose the @@ -199,15 +182,8 @@ while(texture_widthRGB...\n"); - yuv2rgb(ImageData, src[0], src[1], src[2], - image_width, image_height, - image_width*BYTES_PP, image_width, image_width/2 ); - - for(i=0;i