wined3d: Add ENTER_GL/LEAVE_GL in IWineD3DDeviceImpl_Uninit3D.
This commit is contained in:
parent
29b38bc886
commit
7c261553d0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue