diff 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
line wrap: on
line diff
--- a/src/video/win32/SDL_gdirender.c	Sun Nov 30 21:58:23 2008 +0000
+++ b/src/video/win32/SDL_gdirender.c	Sun Nov 30 23:42:33 2008 +0000
@@ -76,7 +76,7 @@
      (SDL_TEXTUREBLENDMODE_NONE | SDL_TEXTUREBLENDMODE_MASK |
       SDL_TEXTUREBLENDMODE_BLEND),
      (SDL_TEXTURESCALEMODE_NONE | SDL_TEXTURESCALEMODE_FAST),
-     12,
+     14,
      {
       SDL_PIXELFORMAT_INDEX8,
       SDL_PIXELFORMAT_RGB555,
@@ -87,6 +87,8 @@
       SDL_PIXELFORMAT_RGBA8888,
       SDL_PIXELFORMAT_ABGR8888,
       SDL_PIXELFORMAT_BGRA8888,
+      SDL_PIXELFORMAT_YV12,
+      SDL_PIXELFORMAT_IYUV,
       SDL_PIXELFORMAT_YUY2,
       SDL_PIXELFORMAT_UYVY,
       SDL_PIXELFORMAT_YVYU},