[PATCH v2 7/7] wined3d: No longer export wined3d_device_set_render_state().

Henri Verbeet hverbeet at gmail.com
Fri Apr 30 12:00:27 CDT 2021


On Fri, 30 Apr 2021 at 18:09, Zebediah Figura <z.figura12 at gmail.com> wrote:
> -void CDECL wined3d_device_set_render_state(struct wined3d_device *device,
> +static void wined3d_device_set_render_state(struct wined3d_device *device,
>          enum wined3d_render_state state, DWORD value)
>  {
> -    TRACE("device %p, state %s (%#x), value %#x.\n", device, debug_d3drenderstate(state), state, value);
> -
>      if (state > WINEHIGHEST_RENDER_STATE)
>      {
>          WARN("Unhandled render state %#x.\n", state);

Arguably the TRACE is still somewhat useful, but if you're removing
things, note that both the bounds check on "state" and the special
handling for WINED3D_RS_POINTSIZE are superfluous now.



More information about the wine-devel mailing list