Commit e29aaca0 authored by Miklós Máté's avatar Miklós Máté Committed by Alexandre Julliard

wined3d: Warn only once about unsupported wrap state.

parent 41fcd104
......@@ -1571,7 +1571,9 @@ void state_pointsprite(struct wined3d_context *context, const struct wined3d_sta
static void state_wrap(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id)
{
if (state->render_states[WINED3D_RS_WRAP0]
static unsigned int once;
if ((state->render_states[WINED3D_RS_WRAP0]
|| state->render_states[WINED3D_RS_WRAP1]
|| state->render_states[WINED3D_RS_WRAP2]
|| state->render_states[WINED3D_RS_WRAP3]
......@@ -1587,6 +1589,7 @@ static void state_wrap(struct wined3d_context *context, const struct wined3d_sta
|| state->render_states[WINED3D_RS_WRAP13]
|| state->render_states[WINED3D_RS_WRAP14]
|| state->render_states[WINED3D_RS_WRAP15])
&& !once++)
FIXME("(WINED3D_RS_WRAP0) Texture wrapping not yet supported.\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment