Commit c5b2d3f1 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Handle WINED3D_SHADE_PHONG the same as WINED3D_SHADE_GOURAUD.

parent d6c81466
......@@ -176,12 +176,12 @@ static void state_shademode(struct wined3d_context *context, const struct wined3
checkGLcall("glShadeModel(GL_FLAT)");
break;
case WINED3D_SHADE_GOURAUD:
/* WINED3D_SHADE_PHONG in practice is the same as WINED3D_SHADE_GOURAUD
* in D3D. */
case WINED3D_SHADE_PHONG:
gl_info->gl_ops.gl.p_glShadeModel(GL_SMOOTH);
checkGLcall("glShadeModel(GL_SMOOTH)");
break;
case WINED3D_SHADE_PHONG:
FIXME("WINED3D_SHADE_PHONG isn't supported.\n");
break;
default:
FIXME("Unrecognized shade mode %#x.\n",
state->render_states[WINED3D_RS_SHADEMODE]);
......
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