comparison src/video/win32/SDL_gdirender.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
74 SDL_RENDERER_PRESENTDISCARD | SDL_RENDERER_ACCELERATED), 74 SDL_RENDERER_PRESENTDISCARD | SDL_RENDERER_ACCELERATED),
75 (SDL_TEXTUREMODULATE_NONE | SDL_TEXTUREMODULATE_ALPHA), 75 (SDL_TEXTUREMODULATE_NONE | SDL_TEXTUREMODULATE_ALPHA),
76 (SDL_TEXTUREBLENDMODE_NONE | SDL_TEXTUREBLENDMODE_MASK | 76 (SDL_TEXTUREBLENDMODE_NONE | SDL_TEXTUREBLENDMODE_MASK |
77 SDL_TEXTUREBLENDMODE_BLEND), 77 SDL_TEXTUREBLENDMODE_BLEND),
78 (SDL_TEXTURESCALEMODE_NONE | SDL_TEXTURESCALEMODE_FAST), 78 (SDL_TEXTURESCALEMODE_NONE | SDL_TEXTURESCALEMODE_FAST),
79 12, 79 14,
80 { 80 {
81 SDL_PIXELFORMAT_INDEX8, 81 SDL_PIXELFORMAT_INDEX8,
82 SDL_PIXELFORMAT_RGB555, 82 SDL_PIXELFORMAT_RGB555,
83 SDL_PIXELFORMAT_RGB565, 83 SDL_PIXELFORMAT_RGB565,
84 SDL_PIXELFORMAT_RGB888, 84 SDL_PIXELFORMAT_RGB888,
85 SDL_PIXELFORMAT_BGR888, 85 SDL_PIXELFORMAT_BGR888,
86 SDL_PIXELFORMAT_ARGB8888, 86 SDL_PIXELFORMAT_ARGB8888,
87 SDL_PIXELFORMAT_RGBA8888, 87 SDL_PIXELFORMAT_RGBA8888,
88 SDL_PIXELFORMAT_ABGR8888, 88 SDL_PIXELFORMAT_ABGR8888,
89 SDL_PIXELFORMAT_BGRA8888, 89 SDL_PIXELFORMAT_BGRA8888,
90 SDL_PIXELFORMAT_YV12,
91 SDL_PIXELFORMAT_IYUV,
90 SDL_PIXELFORMAT_YUY2, 92 SDL_PIXELFORMAT_YUY2,
91 SDL_PIXELFORMAT_UYVY, 93 SDL_PIXELFORMAT_UYVY,
92 SDL_PIXELFORMAT_YVYU}, 94 SDL_PIXELFORMAT_YVYU},
93 0, 95 0,
94 0} 96 0}