Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_gdirender.c @ 1905:36d52b1f0504
Prefer the D3D renderer over GDI, at least for testing.
Added support for the SDL_VIDEO_RENDERER environment variable to pick the desired render driver.
Implemented WritePixels support for the D3D renderer.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 14 Jul 2006 08:22:45 +0000 |
parents | f132024010be |
children | 06c27a737b7a |
line wrap: on
line diff
--- a/src/video/win32/SDL_gdirender.c Fri Jul 14 07:41:16 2006 +0000 +++ b/src/video/win32/SDL_gdirender.c Fri Jul 14 08:22:45 2006 +0000 @@ -79,8 +79,7 @@ SDL_GDI_CreateRenderer, { "gdi", - (SDL_Renderer_Minimal | - SDL_Renderer_SingleBuffer | SDL_Renderer_PresentCopy | + (SDL_Renderer_SingleBuffer | SDL_Renderer_PresentCopy | SDL_Renderer_PresentFlip2 | SDL_Renderer_PresentFlip3 | SDL_Renderer_PresentDiscard | SDL_Renderer_RenderTarget), (SDL_TextureBlendMode_None | SDL_TextureBlendMode_Mask |