From: Christian Costa Subject: [PATCH] wined3d: Only display a fixme when software processing is requested in wined3d_device_set_software_vertex_processing. (try 2) Message-Id: Date: Fri, 17 May 2013 15:34:37 +0200 Also remove fixme in wined3d_device_get_software_ vertex_processing since it does what it is supposed to do. Try 2: - fix typo
Also remove fixme in wined3d_device_get_software_
vertex_processing since it does what it is supposed to do.

Try 2:
  - fix typo
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 hardware 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; }