Commit 6de3620a authored by Vitaly Budovski's avatar Vitaly Budovski Committed by Alexandre Julliard

wined3d: Implemented WINED3DRS_MULTISAMPLEANTIALIAS.

parent 62af0706
...@@ -3618,6 +3618,21 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, D3DRENDE ...@@ -3618,6 +3618,21 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, D3DRENDE
TRACE("(%p)->(%d,%ld) Texture wraping not yet supported\n",This, State, Value); TRACE("(%p)->(%d,%ld) Texture wraping not yet supported\n",This, State, Value);
break; break;
case WINED3DRS_MULTISAMPLEANTIALIAS : case WINED3DRS_MULTISAMPLEANTIALIAS :
{
if (!GL_SUPPORT(ARB_MULTISAMPLE)) {
TRACE("Multisample antialiasing not supported\n");
break;
}
if(Value) {
glEnable(GL_MULTISAMPLE_ARB);
checkGLcall("glEnable(GL_MULTISAMPLE_ARB)");
} else {
glDisable(GL_MULTISAMPLE_ARB);
checkGLcall("glDisable(GL_MULTISAMPLE_ARB)");
}
break;
}
case WINED3DRS_MULTISAMPLEMASK : case WINED3DRS_MULTISAMPLEMASK :
case WINED3DRS_PATCHEDGESTYLE : case WINED3DRS_PATCHEDGESTYLE :
case WINED3DRS_PATCHSEGMENTS : case WINED3DRS_PATCHSEGMENTS :
......
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