comparison src/video/win32/SDL_d3drender.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 99210400e8b9
comparison
equal deleted inserted replaced
2810:27cb878a278e 2811:7af2419ad5b0
85 (SDL_TEXTUREBLENDMODE_NONE | SDL_TEXTUREBLENDMODE_MASK | 85 (SDL_TEXTUREBLENDMODE_NONE | SDL_TEXTUREBLENDMODE_MASK |
86 SDL_TEXTUREBLENDMODE_BLEND | SDL_TEXTUREBLENDMODE_ADD | 86 SDL_TEXTUREBLENDMODE_BLEND | SDL_TEXTUREBLENDMODE_ADD |
87 SDL_TEXTUREBLENDMODE_MOD), 87 SDL_TEXTUREBLENDMODE_MOD),
88 (SDL_TEXTURESCALEMODE_NONE | SDL_TEXTURESCALEMODE_FAST | 88 (SDL_TEXTURESCALEMODE_NONE | SDL_TEXTURESCALEMODE_FAST |
89 SDL_TEXTURESCALEMODE_SLOW | SDL_TEXTURESCALEMODE_BEST), 89 SDL_TEXTURESCALEMODE_SLOW | SDL_TEXTURESCALEMODE_BEST),
90 13, 90 12,
91 { 91 {
92 SDL_PIXELFORMAT_INDEX8, 92 SDL_PIXELFORMAT_INDEX8,
93 SDL_PIXELFORMAT_RGB332, 93 SDL_PIXELFORMAT_RGB332,
94 SDL_PIXELFORMAT_RGB444, 94 SDL_PIXELFORMAT_RGB444,
95 SDL_PIXELFORMAT_RGB555, 95 SDL_PIXELFORMAT_RGB555,
98 SDL_PIXELFORMAT_RGB565, 98 SDL_PIXELFORMAT_RGB565,
99 SDL_PIXELFORMAT_RGB888, 99 SDL_PIXELFORMAT_RGB888,
100 SDL_PIXELFORMAT_ARGB8888, 100 SDL_PIXELFORMAT_ARGB8888,
101 SDL_PIXELFORMAT_ARGB2101010, 101 SDL_PIXELFORMAT_ARGB2101010,
102 SDL_PIXELFORMAT_YUY2, 102 SDL_PIXELFORMAT_YUY2,
103 SDL_PIXELFORMAT_UYVY, 103 SDL_PIXELFORMAT_UYVY},
104 SDL_PIXELFORMAT_YVYU},
105 0, 104 0,
106 0} 105 0}
107 }; 106 };
108 107
109 typedef struct 108 typedef struct