Commit 7c261553 authored by Alexander Dorofeyev's avatar Alexander Dorofeyev Committed by Alexandre Julliard

wined3d: Add ENTER_GL/LEAVE_GL in IWineD3DDeviceImpl_Uninit3D.

parent 29b38bc8
......@@ -2232,7 +2232,9 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Uninit3D(IWineD3DDevice *iface, D3DCB_D
/* Delete the palette conversion shader if it is around */
if(This->paletteConversionShader) {
ENTER_GL();
GL_EXTCALL(glDeleteProgramsARB(1, &This->paletteConversionShader));
LEAVE_GL();
This->paletteConversionShader = 0;
}
......
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