[PATCH] wined3d: Only display a fixme when software processing is requested in wined3d_device_set_software_vertex_processing. (try 2)
Christian Costa
titan.costa at gmail.com
Thu Jun 6 02:02:08 CDT 2013
Also remove fixme in wined3d_device_get_software_vertex_processing since it does what it is supposed to do.
Try 2:
- fix typo
---
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 42456b0..05a6b97 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -4297,9 +4297,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 hardware one.");
warned = TRUE;
}
@@ -4308,16 +4308,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