On Fri, 30 Apr 2021 at 18:09, Zebediah Figura z.figura12@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.