[PATCH] wined3d: Only display a fixme when software processing is requested in wined3d_device_set_software_vertex_processing.
Christian Costa
titan.costa at gmail.com
Thu May 16 16:26:55 CDT 2013
Also remove fixme in wined3d_device_get_software_vertex_processing since it does what it is supposed to do.
---
dlls/wined3d/device.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 47da78b..89fc525 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -4281,9 +4281,9 @@ void CDECL wined3d_device_set_software_vertex_processing(struct wined3d_device *
TRACE("device %p, software %#x.\n", device, software);
- if (!warned)
+ if (software && !warned)
{
- FIXME("device %p, software %#x stub!\n", device, software);
+ FIXME("Software vertex processing not supported. Fake it and use harware one.");
warned = TRUE;
}
@@ -4292,16 +4292,8 @@ void CDECL wined3d_device_set_software_vertex_processing(struct wined3d_device *
BOOL CDECL wined3d_device_get_software_vertex_processing(const struct wined3d_device *device)
{
- static BOOL warned;
-
TRACE("device %p.\n", device);
- if (!warned)
- {
- TRACE("device %p stub!\n", device);
- warned = TRUE;
- }
-
return device->softwareVertexProcessing;
}
More information about the wine-patches
mailing list