Module: wine
Branch: master
Commit: 3cc253c557fb68e620ee4f5130a781e56f17d6bc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3cc253c557fb68e620ee4f513…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Thu Nov 29 13:22:47 2007 +0100
wined3d: Enabling too many lights is silently ignored.
I'm resending this patch because my reply to Henri's concern came too late.
Henri noted that I am enabling lights that do not exist. Existing tests show
that if no light is assigned to the index, LightEnable creates a light with a
set of default parameters, so the tests should be fine.
>From 9ee4c61805b50886f79e87d744b52f27b7b00b4e Mon Sep 17 00:00:00 2001
From: Stefan Doesinger <stefan(a)codeweavers.com>
Date: Thu, 29 Nov 2007 13:22:47 +0100
Subject: [PATCH] WineD3D: Enabling too many lights is silently ignored
This patch adds tests for all d3d versions that show that Windows
pretends that enabling more lights than supported succeeds. D3D_OK is
returned, and the light is reported as enabled.
What is not tested in this patch is the rendering output of this
situation, thus the FIXME is still written.
---
dlls/d3d8/tests/device.c | 69 ++++++++++++++++++++++++++++++++++++++++
dlls/d3d9/tests/device.c | 63 ++++++++++++++++++++++++++++++++++++
dlls/ddraw/tests/d3d.c | 29 +++++++++++++++++
dlls/wined3d/device.c | 15 +++++++--
dlls/wined3d/wined3d_private.h | 1 +
5 files changed, 174 insertions(+), 3 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=3cc253c557fb68e620ee4…
Module: wine
Branch: master
Commit: 3d08d32a426b9fc22899c86599df52da99c41eac
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3d08d32a426b9fc22899c8659…
Author: Andrew Riedi <andrewriedi(a)gmail.com>
Date: Sat Dec 1 13:31:56 2007 -0800
user32: Add a FIXME for animated cursors.
---
dlls/user32/cursoricon.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c
index 8a2a005..7c197ed 100644
--- a/dlls/user32/cursoricon.c
+++ b/dlls/user32/cursoricon.c
@@ -39,8 +39,6 @@
* the X client instead of in the server like other bitmaps; however,
* some programs (notably Paint Brush) expect to be able to manipulate
* the bits directly :-(
- *
- * FIXME: what are we going to do with animation and color (bpp > 1) cursors ?!
*/
#include "config.h"
@@ -901,6 +899,13 @@ static HICON CURSORICON_LoadFromFile( LPCWSTR filename,
if (!bits)
return hIcon;
+ /* Check for .ani. */
+ if (memcmp( bits, "RIFF", 4 ) == 0)
+ {
+ FIXME("No support for .ani cursors.\n");
+ goto end;
+ }
+
dir = (CURSORICONFILEDIR*) bits;
if ( filesize < sizeof(*dir) )
goto end;