diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 3f5ddda5942..e0322eb0c2c 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -4135,9 +4135,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, D glEnable(GL_LINE_SMOOTH); checkGLcall("glEnable(GL_LINE_SMOOTH)"); } else { - if(!This->stateBlock->renderState[WINED3DRS_ALPHABLENDENABLE]) + if(!This->stateBlock->renderState[WINED3DRS_ALPHABLENDENABLE]) { glDisable(GL_BLEND); - checkGLcall("glDisable(GL_BLEND)"); + checkGLcall("glDisable(GL_BLEND)"); + } glDisable(GL_LINE_SMOOTH); checkGLcall("glDisable(GL_LINE_SMOOTH)"); }