--- a/src/video/win32/SDL_d3drender.c Wed Jul 19 05:45:42 2006 +0000
+++ b/src/video/win32/SDL_d3drender.c Wed Jul 19 07:18:45 2006 +0000
@@ -62,9 +62,13 @@
"d3d",
(SDL_Renderer_SingleBuffer | SDL_Renderer_PresentCopy |
SDL_Renderer_PresentFlip2 | SDL_Renderer_PresentFlip3 |
- SDL_Renderer_PresentDiscard | SDL_Renderer_PresentVSync),
- (SDL_TextureBlendMode_None | SDL_TextureBlendMode_Mask | SDL_TextureBlendMode_Blend), /* FIXME */
- (SDL_TextureScaleMode_None | SDL_TextureScaleMode_Fast), /* FIXME */
+ SDL_Renderer_PresentDiscard | SDL_Renderer_PresentVSync |
+ SDL_Renderer_Accelerated),
+ (SDL_TextureBlendMode_None | SDL_TextureBlendMode_Mask |
+ SDL_TextureBlendMode_Blend | SDL_TextureBlendMode_Add |
+ SDL_TextureBlendMode_Mod),
+ (SDL_TextureScaleMode_None | SDL_TextureScaleMode_Fast |
+ SDL_TextureScaleMode_Best),
12,
{
SDL_PixelFormat_Index8,
@@ -353,6 +357,8 @@
renderer->info.flags |= SDL_Renderer_PresentVSync;
}
+ /* FIXME: Query maximum texture size */
+
/* Set up parameters for rendering */
IDirect3DDevice9_SetVertexShader(data->device, NULL);
IDirect3DDevice9_SetFVF(data->device, D3DFVF_XYZRHW | D3DFVF_TEX1);