comparison src/video/x11/SDL_x11render.c @ 2811:7af2419ad5b0

Fixed the list of supported YUV formats
author Sam Lantinga <slouken@libsdl.org>
date Sun, 30 Nov 2008 23:42:33 +0000
parents 27cb878a278e
children e841aa93e6be
comparison
equal deleted inserted replaced
2810:27cb878a278e 2811:7af2419ad5b0
190 XFree(pixmapFormats); 190 XFree(pixmapFormats);
191 191
192 if (info->num_texture_formats == 0) { 192 if (info->num_texture_formats == 0) {
193 return; 193 return;
194 } 194 }
195 info->texture_formats[info->num_texture_formats++] = SDL_PIXELFORMAT_YV12;
196 info->texture_formats[info->num_texture_formats++] = SDL_PIXELFORMAT_IYUV;
195 info->texture_formats[info->num_texture_formats++] = SDL_PIXELFORMAT_YUY2; 197 info->texture_formats[info->num_texture_formats++] = SDL_PIXELFORMAT_YUY2;
196 info->texture_formats[info->num_texture_formats++] = SDL_PIXELFORMAT_UYVY; 198 info->texture_formats[info->num_texture_formats++] = SDL_PIXELFORMAT_UYVY;
197 info->texture_formats[info->num_texture_formats++] = SDL_PIXELFORMAT_YVYU; 199 info->texture_formats[info->num_texture_formats++] = SDL_PIXELFORMAT_YVYU;
198 } 200 }
199 201